fix: infer float context from division

This commit is contained in:
2026-10-22 11:51:48 +02:00
parent bbf39c16c5
commit bc318a29ad
4 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ program ::
`z :: "hello"
`
`a := 1 + 2 * 3
`b :: -3.0 / 2 + 1
`b :: -3 / 2 + 1
`
`grouped proc(left, right int, extra float) void {
` value int :: later + left