14 lines
No EOL
207 B
Text
14 lines
No EOL
207 B
Text
// this should not compile, as A == B
|
|
|
|
const u32 A = 1
|
|
const u32 B = 1
|
|
|
|
def foo(field[A] a) -> bool:
|
|
return true
|
|
|
|
def foo(field[B] a) -> bool:
|
|
return true
|
|
|
|
def main():
|
|
assert(foo([1]))
|
|
return |