gkz/LiveScript — pull request #57 by goatslacker (2012-06-22 02:43:11+00:00)
Title: Tracks mangled identifiers for inconsistencies

Related to #17 [this comment](https://github.com/gkz/LiveScript/issues/17#issuecomment-6489808)

This keeps track of IDs in the lexer in an Object and if two dashed IDs mangle into the same camelCased ID then a ReferenceError is thrown.

* I removed the encodeURL test from `assignment.ls` since it was failing due to the new feature.
* I added that test to `compilation.ls` to make sure the error was being thrown.

bin/slake test
passed 1337 tests in 0.41 seconds