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

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-04-07 16:13:15 +12:00
committed by GitHub
parent ce7a967f5f
commit e7b23e1638
72 changed files with 2789 additions and 1604 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": {