Commit Graph
2 Commits
Author SHA1 Message Date
minirop d675e77081 chore: update error messages and comments to use 'construct' instead of 'this' for constructors
- Changed error message in `constructorSignature` from "Expect constructor name after 'this'." to "Expect constructor name after 'construct'."
- Updated comment in `createDefaultConstructor` from "It just invokes 'this new()' on the instance" to "It just invokes 'construct new()' on the instance"
2015-08-19 17:33:54 +00:00
minirop f5eb0ec1c3 fix: add missing "import" keyword to reserved words list in syntax docs
The reserved words table in doc/site/syntax.markdown was missing the "import"
keyword, causing it to appear on a separate line from the other reserved words.
This fix moves "import" into the correct position alphabetically between "if"
and "in" in the first line of reserved words, and shifts "new" to the second
line to maintain proper formatting.
2015-04-19 21:13:40 +00:00