Closed MadcapJake closed 9 years ago
This is at compile time? Can't reproduce it, even before the change for #500 this compiles OK.
Yeah I am only seeing this annotated in the IDE. The call to \iHapi
is a different reference from the hapi
of the previous line and so the Server
member class's parent is undefined.
Shouldn't this give a Function or value does not exist: \iHapi
or is that not possible in dynamic blocks?
No, in dynamic blocks we let you call undeclared stuff. I suppose what you really need to do is call hapi.\iHapi.Server()
but the weird part is that you get an error at compile time, not runtime. The IDE does not have the latest JS compiler so maybe that bug will be gone next time they update the jars.
Is this still an issue?
Can't reproduce; closing.
When attempting this code:
, the
Server
member class of variable\iHapi
is annotated with this error in the IDE: