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
An easy way is to provide an annotation like @UnNamed() or to reserve a method name like noNamed for this purpose.
Another way is to use constructors on manifest class to denote no named constructor.
Complexities arise when implementing match methods. But we do not need cast methods for in named constructor as it means that we do not need unnamed sub class entirely.
Special thanks to @iamarnas for his recommendations.
The text was updated successfully, but these errors were encountered:
Add ability to define unnamed constructor.
An easy way is to provide an annotation like
@UnNamed()
or to reserve a method name likenoNamed
for this purpose.Another way is to use constructors on manifest class to denote no named constructor.
Complexities arise when implementing match methods. But we do not need cast methods for in named constructor as it means that we do not need unnamed sub class entirely.
Special thanks to @iamarnas for his recommendations.
The text was updated successfully, but these errors were encountered: