pulumi/pkg/compiler/errors
joeduffy fde88b7cf4 Permit Statements in SequenceExpressions
The previous shape of SequenceExpression only permitted expressions
in the sequence.  This is pretty common in most ILs, however, it usually
leads to complicated manual spilling in the event that a statement is needed.
This is often necessary when, for example, a compiler is deeply nested in some
expression production, and then realizes the code expansion requires a
statement (e.g., maybe a new local variable must be declared, etc).

Instead of requiring complicated code-gen, this change permits SequenceExpression
to contain an arbitrary mixture of expression/statement prelude nodes, terminating
with a single, final Expression which yields the actual expression value.  The
runtime bears the burden of implementing this which, frankly, is pretty trivial.
2017-05-04 10:54:07 -07:00
..
binder.go Permit Statements in SequenceExpressions 2017-05-04 10:54:07 -07:00
compiler.go Make major commands more pleasant 2017-03-21 19:23:32 -07:00
eval.go Update copyright notices from 2016 to 2017 2017-03-14 19:26:14 -07:00
new.go Update copyright notices from 2016 to 2017 2017-03-14 19:26:14 -07:00
planapply.go Fix an assert and a message 2017-03-30 15:06:55 -07:00