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 cube.kcl
|
||||
snapshot_kind: text
|
||||
---
|
||||
@ -58,7 +59,7 @@ snapshot_kind: text
|
||||
"start": 47,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": 2
|
||||
"value": 2.0
|
||||
},
|
||||
"start": 38,
|
||||
"type": "BinaryExpression",
|
||||
@ -100,7 +101,7 @@ snapshot_kind: text
|
||||
"start": 62,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": 0
|
||||
"value": 0.0
|
||||
},
|
||||
"start": 55,
|
||||
"type": "MemberExpression",
|
||||
@ -142,7 +143,7 @@ snapshot_kind: text
|
||||
"start": 78,
|
||||
"type": "Literal",
|
||||
"type": "Literal",
|
||||
"value": 1
|
||||
"value": 1.0
|
||||
},
|
||||
"start": 71,
|
||||
"type": "MemberExpression",
|
||||
|
||||
Reference in New Issue
Block a user