Implemented boolean literals
This commit is contained in:
parent
1f0db51a95
commit
bf5110edd4
11 changed files with 69 additions and 13 deletions
|
@ -25,8 +25,12 @@ func Is(a Type, b Type) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
// Temporary hack for implicit casts
|
||||
if a.Size() > b.Size() {
|
||||
// Temporary hacks
|
||||
if a == Int32 && b == Int64 {
|
||||
return true
|
||||
}
|
||||
|
||||
if a == Int64 && b == Int32 {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue