Kwargs: assert functions (#6406)
Closes https://github.com/KittyCAD/modeling-app/issues/6408
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
---
|
||||
source: kcl/src/simulation_tests.rs
|
||||
source: kcl-lib/src/simulation_tests.rs
|
||||
description: Error from executing comparisons_multiple.kcl
|
||||
---
|
||||
KCL Semantic error
|
||||
|
||||
× semantic: Expected a number, but found a boolean (true/false value)
|
||||
╭────
|
||||
1 │ assert(3 == 3 == 3, "this should not compile")
|
||||
1 │ assert(3 == 3 == 3, error = "this should not compile")
|
||||
· ───┬──
|
||||
· ╰── tests/comparisons_multiple/input.kcl
|
||||
╰────
|
||||
|
Reference in New Issue
Block a user