Sitelet https://github.com/oakes/Nightcode/issues/236
Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Unparseable characters not rendered or detected #236

Description

@metaperl

Per this reddit discussion we see that the following code will cause the Clojure compiler to throw an error:

 (defn r->lfix 
  ([a op b] (op a b))
  ([a op1 b op2 c] (op1 a (op2 b c)))
  ([a op1 b op2 c op3 d] (op1 a (op2 b (op3 c d))))�)

However:

  1. the unparseable character is not rendered when this code is pasted into Nightcode
  2. Nightcode does not flag the line as syntactically invalid

The error is only caught when one attempts to compile the code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions