pulumi/pkg/compiler/errors
joeduffy 877fa131eb Detect duplicate object names
This change detects duplicate object names (monikers) and issues a nice
error message with source context include.  For example:

    index.ts(260,22): error MU2006: Duplicate objects with the same name:
        prod::ec2instance:index::aws:ec2/securityGroup:SecurityGroup::group

The prior code asserted and failed abruptly, whereas this actually points
us to the offending line of code:

    let group1 = new aws.ec2.SecurityGroup("group", { ... });
    let group2 = new aws.ec2.SecurityGroup("group", { ... });
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
2017-02-24 16:03:06 -08:00
..
binder.go Generalize default modules 2017-02-15 12:53:36 -08:00
compiler.go Revive some compiler tests 2017-01-26 15:30:08 -08:00
eval.go Implement static properties in the runtime 2017-02-13 05:45:28 -08:00
new.go Clean up errors 2017-01-25 17:58:16 -08:00
planapply.go Detect duplicate object names 2017-02-24 16:03:06 -08:00