Commit Graph

1116 Commits

Author SHA1 Message Date
Zalim Bashorov 31d8a75b1a Minor in JS backend: moved the Kotlin.modules declaration from koltin_lib.js to koltin_lib_ecma5.js 2014-03-19 17:36:43 +04:00
Zalim Bashorov 71bfa51ab2 JS backend: fix access to class object members from containing class with implicit receiver.
#KT-4130 Fixed
2014-03-18 13:09:49 +04:00
Zalim Bashorov 8fd38e261f JS backend: fix access to enum entries by implicit receiver and explicit this. 2014-03-18 13:09:47 +04:00
Zalim Bashorov 7b503bbe6f Minor in JS backend: added regression tests.
#{KT-2219, KT-2470, KT-2507, KT-2222, KT-2995, KT-2221} Obsolete
2014-03-13 22:57:41 +04:00
Zalim Bashorov 206be96509 JS backend: added tests which pass an extension lambda to native code and visa versa.
Added workarounds in some tests because Rhino wrongly implicitly converts first parameter of `Function.call` to `Object`. But it's contradicts to ES5 specification(par. 15.3.4.4).

(#KT-4238, #KT-4345) In progress
2014-03-13 14:17:09 +04:00
Alexey Tsvetkov 21f87350b9 JS backend: added tests for KT-4159. 2014-03-12 19:01:55 +04:00
Zalim Bashorov 209f7e8d51 JS backend: minor -- dropped temporary hack after KT-4517 fixed. 2014-03-11 20:05:40 +04:00
Zalim Bashorov 344ce6c095 JS backend: fixed name clash between public function w/o parameters and non-public function with same name. 2014-03-11 20:05:39 +04:00
Zalim Bashorov 3455f6adcd JS backend: minor -- dropped some no longer necessary code. 2014-03-11 20:05:37 +04:00
Zalim Bashorov 434a6ed6e2 JS backend: minor -- fix typo in fromFakeClasses.kt 2014-03-11 20:04:05 +04:00
Zalim Bashorov 43d9c383ff JS backend: don't use objects as definition place. 2014-03-11 20:04:05 +04:00
Zalim Bashorov fb7165c7fa JS backend: added regression tests for closure bugs.
#KT-4236 In Progress
#KT-4600 In Progress
#KT-4237 In Progress
#KT-4207 In Progress
#KT-4218 In Progress
#KT-4263 Obsolete
2014-03-11 20:04:03 +04:00
Zalim Bashorov a48dc25c46 JS backend: added more tests for closures. 2014-03-11 20:04:02 +04:00
Zalim Bashorov ec71a90394 JS backend : added test for local extension function. 2014-03-11 20:04:02 +04:00
Zalim Bashorov 14ed970dc3 JS backend: added the support extension functions as expression. 2014-03-11 20:04:02 +04:00
Zalim Bashorov 442215e829 JS backend: testFiles -> testData 2014-03-11 20:04:00 +04:00