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
Verify that the type signature of overridden members is identical
to the type signature of the base class. While in many languages
return types may be narrowed in subclasses, this is not true
for (e.g.) C#.
We want to disallow this pattern in jsii so that people
will not be able to write classes that don't behave the same
in C# and other languages.
Fixes#100.
In
.NET
, return types must match exactly. So this is invalid:When
jsii
detects inconsistent return types, it should report an error.The text was updated successfully, but these errors were encountered: