Implement coercion of numeric types for ascription and arithmetic (off by default)

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-04-05 14:22:53 +13:00
parent 38446b5b2a
commit 3e225d78c2
67 changed files with 2303 additions and 817 deletions

View File

@ -20,14 +20,16 @@ description: Variables in memory after executing riddle_small.kcl
"type": "Number",
"value": -26.0,
"ty": {
"type": "Unknown"
"type": "Known",
"type": "Count"
}
},
"oy": {
"type": "Number",
"value": 34.0,
"ty": {
"type": "Unknown"
"type": "Known",
"type": "Count"
}
},
"r": {