monte-language / typhon

A virtual machine for Monte.
Other
67 stars 10 forks source link

Syntax checker off-by-one in error reporting #161

Closed justinnoah closed 7 years ago

justinnoah commented 7 years ago

When building a project (monte build), the ^~~~~ is off by one to the left.

E.g.:

  67     ""
  68     def consumer :Consumer := makeConsumer(key, secret)
  69     def token := null
            ^~~~~~
  70 
  71     return object Client:
  72         to request(uri :Str, meth, body :Bytes, headers :Map):
Unused name token