Improved type system
This commit is contained in:
parent
78f2670553
commit
6eab48c586
62 changed files with 189 additions and 172 deletions
|
@ -25,5 +25,10 @@ func Is(a Type, b Type) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
// Temporary hack for implicit casts
|
||||
if a.Size() > b.Size() {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue