Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCannot read property 'ctor/height' of undefined #559
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Oops, I found the same issue. |
jinjor
closed this
Apr 16, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jinjor commentedApr 16, 2016
•
edited
Edited 1 time
-
jinjor
edited Apr 16, 2016 (most recent)
This code causes an error:
Cannot read property 'ctor' of undefined.Lambda function is trying to use undefined value. I'm not sure if compiler can detect this error statically.
The same thing happens with Array.
Maybe you wonder why I was trying to access undefined value like this? In my case, the same name variable was predefined as an argument of the function. So I was not aware the new variable was sealing the other.