foundationdb/flow/actorcompiler
Andrew Noyes 87b591bc21 Disallow uniform initialization syntax for state variables
The actor compiler does not handle this correctly, so disallow it for
now. We could probably support this someday if someone is sufficiently
motivated.

Previously this would miscompile and hopefully cause some kind of syntax
error in the generated code. Now it issues a helpful diagnostic.

Tested by adding an actor with a state variable that tries to use
uniform initialization syntax and observing the error message looks
good. We don't have any infrastructure for testing that the
ActorCompiler rejects something, so I'm not including a test in this
change. We could probably add that relatively easily though.
2022-11-03 13:47:43 -07:00
..
Properties remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00
Actor checklist.txt fix spelling error 2021-08-19 13:55:30 -07:00
ActorCompiler.cs Switch some usages of LiteralStringRef to use the _sr suffix 2022-09-30 16:04:16 -07:00
ActorCompiler.targets Initial repository commit 2017-05-25 13:48:44 -07:00
ActorCompiler.xml Initial repository commit 2017-05-25 13:48:44 -07:00
ActorParser.cs Disallow uniform initialization syntax for state variables 2022-11-03 13:47:43 -07:00
ParseTree.cs Update ParseTree.cs 2022-08-09 14:27:48 -05:00
Program.cs Update Program.cs 2022-08-09 14:27:37 -05:00
actorcompiler.csproj Revert "Merge pull request #4802 from sfc-gh-ljoswiak/revert/actor-lineage" 2021-06-04 13:31:55 -07:00
usertype.dat Initial repository commit 2017-05-25 13:48:44 -07:00