You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The test lexer-test.red crashes with a script error:
>> do %lexer-test.red
~~~started test~~~ lexer
*** Script Error: --assert does not allow word! for its assertion argument
*** Where: --assert
*** Near :
*** Stack: do-file
The issue is caused by the fourth assertion in test #4562, line 1571
The lexical rules for allowing < inside a word (or at the beginning of a word) are not precisely defined currently. This is not an easy task as it can easily conflict with the "sticky tag" rule, allowing a word sticking to a tag to be separated by the lexer and producing two values:
The argument for supporting it in words would be that you can make nifty arrow-like words that go in both directions, but you could still do that with Unicode chars, and is far less common than lexing data where they may be together.
Describe the bug
The test
lexer-test.red
crashes with a script error:The issue is caused by the fourth assertion in test #4562, line 1571
To reproduce
Expected behavior
-<- should be interpreted as a single lit-word not a lit-word and a word
Platform version
The text was updated successfully, but these errors were encountered: