mirror of
https://github.com/ruuda/rcl.git
synced 2025-12-23 04:47:19 +00:00
I am still ambivalent about this. On the one hand I have a strong sense that "key = value;" is a statement that needs a terminator. On the other hand, it makes things more uniform to have only a single separator. I think I just need to get used to the comma, and then I will not mind so much. But let's see.
10 lines
454 B
Text
10 lines
454 B
Text
// This tests that error printing truncates the line if the line is really long.
|
|
let turbo_encabulator = { baseplate = "prefabulated aluminite", casing = "surmounted, malleable logarithmic", spurving_bearings = "aligned with the pentametric fan", err_unknown_variable = this-causes-an-error };
|
|
true
|
|
|
|
# output:
|
|
stdin:2:190
|
|
╷
|
|
2 │ …_unknown_variable = this-causes-an-error };
|
|
╵ ^~~~~~~~~~~~~~~~~~~~
|
|
Error: Unknown variable.
|