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
class C extends Object with String {}
main() {
print(new C() is String); // Prints true!
}
Since the mixin application does implement its mixin class, it should be prevented from mixing in String and other classes that the user may not extend or implement.
The text was updated successfully, but these errors were encountered:
Example code:
class C extends Object with String {}
main() {
print(new C() is String); // Prints true!
}
Since the mixin application does implement its mixin class, it should be prevented from mixing in String and other classes that the user may not extend or implement.
The text was updated successfully, but these errors were encountered: