pulumi/cmd
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
..
lumi Merge branch 'master' into bforsyth927-gometalinter 2017-06-13 16:28:12 -07:00
lumidl Print output properties in the CLI 2017-06-01 08:37:56 -07:00
lumijs Fix empty body issues 2017-06-14 10:30:46 -07:00
lumipy Finish scrubbing TODOs 2017-06-06 06:05:35 -07:00