You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Playground is not supporting for "wrong order" classes #8633
Activity
jeffreymorlan commentedon May 17, 2016
Unlike
functions, a class isn't actually created until its class declaration is reached, so it can't be forward referenced.DanielRosenwasser commentedon May 17, 2016
This is correct. Classes need to be declared before they are referenced on their value side.
RyanCavanaugh commentedon Jul 29, 2016
This will now issue an error in cases where we can tell it's guaranteed not to work