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
// Scope1
typealias Foo = bool;
func void doSome() {
typealias Foo = int; // Scope2
var bar : Foo = true; // Typechecker should report error ! as Foo should get bound to int and accept int value
.....
}
The text was updated successfully, but these errors were encountered:
// Scope1
typealias Foo = bool;
func void doSome() {
typealias Foo = int; // Scope2
var bar : Foo = true; // Typechecker should report error ! as Foo should get bound to int and accept int value
.....
}
The text was updated successfully, but these errors were encountered: