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
pretty.js: The `txt` function does not accept text with newlines, but was given: schools-table.filter(is-public).filter(is-hs).build-column(
"aaa-cccccc", aaa-ccc
).build-column
Even when inputted as a single line, the exact same error message appears.
At first we thought this might be an issue with the numerous dash characters in the code conflicting with the syntax parser.
However, we realized that removing a "c" from either the string or the variable name renders fine.
It doesn't necessarily have to be a "c", but this seems to be related to the number of characters somehow.
Removing even just one character from the words "schools-table", "is-public", "is-hs", or the parameters of the first build-column renders, but changes to the parameters of the second build-column still errors.
(This is most likely due to the contents of the second build-column being the only one recognized as parameters, elaborated more on this issue here.
Side note: Replacing all the dashes with non-dash characters has the same results, so this shouldn't be an issue about dash characters.
The text was updated successfully, but these errors were encountered:
This is almost certainly a similar bug to #16 , though not fixed by the same mechanism. Somewhere, horizontal pretty-printing is being fed something incorrect.
CMB should really watch for these, and blame the language module for not pretty-printing properly.
This block of code
Results in an error of
Even when inputted as a single line, the exact same error message appears.
At first we thought this might be an issue with the numerous dash characters in the code conflicting with the syntax parser.
However, we realized that removing a "c" from either the string or the variable name renders fine.
It doesn't necessarily have to be a "c", but this seems to be related to the number of characters somehow.
Removing even just one character from the words "schools-table", "is-public", "is-hs", or the parameters of the first
build-column
renders, but changes to the parameters of the secondbuild-column
still errors.(This is most likely due to the contents of the second
build-column
being the only one recognized as parameters, elaborated more on this issue here.Side note: Replacing all the dashes with non-dash characters has the same results, so this shouldn't be an issue about dash characters.
The text was updated successfully, but these errors were encountered: