Skip to content

Commit 0dbc28f

Browse files
committed
add a failing test for adding ints and doubles
1 parent d859c29 commit 0dbc28f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#output: 1.5
2+
3+
function useDouble(num: double): void {
4+
println(num);
5+
}
6+
7+
var i = 1 as int;
8+
useDouble(i + 0.5);
9+

0 commit comments

Comments
 (0)