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
In the code:
Event event = new Event('TextEvent');
Selecting the first occurance of "Event" and hitting "Open Declaration" yields the Event Interface.
Selecting the second "Event" and hitting "Open Declaration" yields the factory constructor.
This behavior is confusing.
////////////////////////////////////////////////////////////////////////////////////
Editor Version: 8124
messick writes:
I disagree that this is confusing. It is working as intended. If there's a problem it is in the language definition that allows unnamed constructors, but I don't think that is a problem, either.
The text was updated successfully, but these errors were encountered:
In the code:
Event event = new Event('TextEvent');
Selecting the first occurance of "Event" and hitting "Open Declaration" yields the Event Interface.
Selecting the second "Event" and hitting "Open Declaration" yields the factory constructor.
This behavior is confusing.
////////////////////////////////////////////////////////////////////////////////////
Editor Version: 8124
messick writes:
I disagree that this is confusing. It is working as intended. If there's a problem it is in the language definition that allows unnamed constructors, but I don't think that is a problem, either.
The text was updated successfully, but these errors were encountered: