clarinet icon indicating copy to clipboard operation
clarinet copied to clipboard

Console line ending detection error

Open obycode opened this issue 1 year ago • 1 comments

Describe the bug If you try to enter the expression {foo: "\\"} into the console, it thinks that the expression is not yet complete, and prompts you for more input. This is a valid Clarity expression, it's just the logic detecting whether to wait for more input that has an issue with it.

To Reproduce Steps to reproduce the behavior:

  1. Run clarinet console
  2. Type {foo: "\\"} at the prompt
  3. See problem {.. indicating that it is waiting for the rest of the expression

Expected behavior This should correctly be processed as a valid tuple.

obycode avatar Dec 05 '23 15:12 obycode

Here's another case, (< u"\u{0380}" u"Z").

obycode avatar Dec 06 '23 15:12 obycode