3c9d653595
The IR linker is responsible for detecting unbound symbols, if it skips them for some reason, IC infrastructure must not fail with unbound symbols exceptions. Anyway, the IR validator verifies later if there are unbound symbols in reachable IR and generates the corresponding error. ^KT-56602 Fixed
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.