pulumi/pkg/compiler
joeduffy db4a87d7c4 Don't rebind properties
There are two cases to consider in the case of a stack's bound properties.
First, it was a stack we didn't need to construct.  This is the case for
built-in primitives.  In that case, we must rebind each service uniquely.
Second, it was an imported stack, which by definition we had to construct.
In this case, we don't need to rebind the properties -- we already did so
-- and can just reuse them in the service's own bound properties.

I am pondering a better way of representing this and will probably do this
soon.  The concept of unconstructed vs. constructed types should be unified
between the built-in types and imported ones.  (Kind of like generics.)
But, I still need a little bit more time prototyping before I make up my
mind what a better way to represent all of this might look like.
2016-12-05 10:25:56 -08:00
..
backends Remember stack property values (including bounds) 2016-12-05 10:13:57 -08:00
core Support binding to arbitrary service types 2016-12-03 13:00:08 -08:00
predef Remember stack property values (including bounds) 2016-12-05 10:13:57 -08:00
testdata Support binding to arbitrary service types 2016-12-03 13:00:08 -08:00
binder.go Don't rebind properties 2016-12-05 10:25:56 -08:00
binder_test.go Remember stack property values (including bounds) 2016-12-05 10:13:57 -08:00
common_test.go Add a diag.Sink.Success helper function 2016-11-22 09:40:09 -08:00
compiler.go Move parse-tree analysis into the Parse* functions 2016-12-01 11:39:03 -08:00
compiler_be.go Detect target cloud earlier on 2016-11-29 13:42:39 -08:00
compiler_fe.go Support binding to arbitrary service types 2016-12-03 13:00:08 -08:00
compiler_sema.go Support binding to arbitrary service types 2016-12-03 13:00:08 -08:00
compiler_test.go Clean up workspace file naming 2016-11-29 20:07:27 -08:00
context.go Add some property binding tests 2016-12-02 14:33:22 -08:00
opts.go Permit passing stack properties via the CLI 2016-11-29 15:27:02 -08:00
parser.go Remember stack property values (including bounds) 2016-12-05 10:13:57 -08:00
parsetree.go Remember stack property values (including bounds) 2016-12-05 10:13:57 -08:00
symbols.go Bind properties that refer to types 2016-12-03 11:14:06 -08:00
templates.go Remember parent documents during template expansion 2016-12-03 15:19:45 -08:00