pulumi/pkg/compiler/errors
joeduffy 3a899b304e Fix empty body issues
We recently changed the Resource base type to have no constructor,
rather than a manual empty constructor.  This ought to work just fine.
The LumiJS compiler indeed generates a constructor, however, it is
missing a body and when the interpreter tries to invoke it, we crash
with a nil reference panic.  The runtime actually tolerates missing
constructors entirely, although the way LumiJS binds super calls
doesn't tolerate the missing base constructor.  This change simply
generates such constructors in LumiJS with empty bodies.

In addition, I've added an error that will catch the empty body
problem during binding, since technically speaking, all functions
must have bodies.  (Our runtime happens to support the notion of
"abstract", however, so we only fire the error on concrete functions.)
2017-06-14 10:30:46 -07:00
..
binder.go Fix empty body issues 2017-06-14 10:30:46 -07:00
compiler.go Reclassify Lumi under the Apache 2.0 license 2017-05-18 14:51:52 -07:00
eval.go Reclassify Lumi under the Apache 2.0 license 2017-05-18 14:51:52 -07:00
new.go Reclassify Lumi under the Apache 2.0 license 2017-05-18 14:51:52 -07:00
planapply.go Rewrite plans and deployments 2017-06-13 07:10:13 -07:00