33daf83f14
1. Get rid of most of ManglingUtils 2. Use simple mangling for delegated properties instead of stable mangling 3. Use stable mangling for public declarations of open non-public classes 4. When generating a fresh name in a JsScope, check it for clashing against parent scopes 5. JsFunctionScope does not generate fresh name instead of stable names 6. Function scopes inherit directly from global scope 7. Generate simple mangled names for backing fields of properties
To run tests in node.js your need the following prerequisites installed:
- node.js itself (installation is platform-dependent);
- mocha (
npm install -g mocha).
Run nmp install from this directory to download all additional dependencies for tests.
First, you need to run box tests via JUnit. JUnit tests additionally generate mocha runners
(i.e. .node.js files).
Second, run mocha from this directory.
You can declare KOTLIN_JS_LOCATION environment variable to customize location of kotlin.js library,
../../../dist/js/kotlin.js used by default.