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
use sam-assertdescribe("accessing generic member should not require a cast", ||
g := Gift<String>new("hi")
g tuvalu println()
)
Gift: class <T> {
tuvalu: Tinit: func (=tuvalu)
}
Expected behaviour: pass
Current behaviour: compiled error (you can't call methods on generic types, blah)
The text was updated successfully, but these errors were encountered:
Test:
Expected behaviour: pass
Current behaviour: compiled error (you can't call methods on generic types, blah)
The text was updated successfully, but these errors were encountered: