mirror of https://github.com/pulumi/pulumi.git
54e0bba6ff
### Description This PR fixes the l2-resource-primitives conformance test in Go. The problem was that expressions of the form `UnaryOperationExpr(Negate, NumberExpr(N))` didn't get _lifted_ properly: we emitted `-N` instead of `pulumi.Float64(-N)`. The solution here is to rewrite the expression first from `UnaryOperationExpr(Negate, NumberExpr(N))` into `NumberExpr(-N)` and only then lift it like any other number. |
||
---|---|---|
.. | ||
model | ||
syntax |