Implicit conversion of round numbers to integers (#4542)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
---
|
||||
source: kcl/src/simulation_tests.rs
|
||||
assertion_line: 92
|
||||
description: Program memory after executing if_else.kcl
|
||||
snapshot_kind: text
|
||||
---
|
||||
@ -28,8 +29,8 @@ snapshot_kind: text
|
||||
"__meta": []
|
||||
},
|
||||
"a": {
|
||||
"type": "Int",
|
||||
"value": 3,
|
||||
"type": "Number",
|
||||
"value": 3.0,
|
||||
"__meta": [
|
||||
{
|
||||
"sourceRange": [
|
||||
@ -41,8 +42,8 @@ snapshot_kind: text
|
||||
]
|
||||
},
|
||||
"b": {
|
||||
"type": "Int",
|
||||
"value": 4,
|
||||
"type": "Number",
|
||||
"value": 4.0,
|
||||
"__meta": [
|
||||
{
|
||||
"sourceRange": [
|
||||
@ -54,8 +55,8 @@ snapshot_kind: text
|
||||
]
|
||||
},
|
||||
"c": {
|
||||
"type": "Int",
|
||||
"value": 5,
|
||||
"type": "Number",
|
||||
"value": 5.0,
|
||||
"__meta": [
|
||||
{
|
||||
"sourceRange": [
|
||||
|
Reference in New Issue
Block a user