mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-22 19:21:47 +00:00
Type-aware && and ||
This commit is contained in:
7
tests/compiler/logical.ts
Normal file
7
tests/compiler/logical.ts
Normal file
@ -0,0 +1,7 @@
|
||||
0 && unreachable();
|
||||
0.0 && unreachable();
|
||||
1 || unreachable();
|
||||
1.0 || unreachable();
|
||||
|
||||
1 && 2 || unreachable();
|
||||
1.0 && 2.0 || unreachable();
|
Reference in New Issue
Block a user