Anton Bannykh
e43a145614
fixup: updated EXPECTED_REACHABLE_NODES
2017-07-19 12:24:09 +03:00
Alexey Andreev
e2c2fcf1ff
Generate EXPECTED_REACHABLE_NODES directive on JS box tests
2017-05-26 18:20:20 +03:00
Alexey Andreev
a6ca2906d8
JS: add tests for reflection against external classes
2017-03-07 10:46:08 +03:00
Alexey Andreev
723c9be5a0
JS: fix class literal expression with primitive classes. See KT-16545
2017-03-07 10:46:08 +03:00
Dmitry Petrov
33ed98a0d3
Update typing rules for class literal expressions.
...
C::class : KClass<C>
expr: T => expr::class : KClass<out T>
NB: this means Obj::class : KClass<out Obj> for object Obj.
2016-12-19 10:41:49 +03:00
Anton Bannykh
6301e3ec30
JS: Fix capturing class construction function for lambdas inside inline functions with reified type parameters (KT-13522).
2016-12-02 13:42:42 +03:00
Alexey Andreev
6791ed7bf3
JS: fix obsolete tests
2016-11-11 16:26:38 +03:00
Alexey Andreev
bb57eaef96
JS: fix some minor issues in new flat translator
2016-11-11 16:26:34 +03:00
Zalim Bashorov
5f2ba70745
KJS: use cached KClass instead create new each time when getting it from JsClass
2016-10-18 13:26:05 +03:00
Zalim Bashorov
a085df914f
KJS: allow to use KClass::isInstance; implement isInstance in KClassImpl
2016-10-18 13:26:05 +03:00
Zalim Bashorov
3c520a3ce3
JS backend: basic support for class literals.
...
Added:
* the ability to get KClass using class literals (`::class`);
* the ability to get KClass from JsClass and vice versa;
* the ability to get simpleName.
#KT-13345 Fixed
2016-10-14 19:44:53 +03:00
Zalim Bashorov
ace10f46b2
Minor: move reflection/light/* -> reflection/*
2016-10-14 19:40:36 +03:00
Zalim Bashorov
d31f18137d
JS: make Any as upper bound of type parameter of JsClass and helpers
2016-10-14 19:40:35 +03:00
Alexey Andreev
ba9c908875
KT-2752: export JsName on class via JS reflection
2016-10-08 19:25:45 +03:00
Alexey Andreev
ea18ea0b8c
KT-13825: write simple name of class to constructor.$metadata$.simpleName.
2016-09-30 12:00:49 +03:00
Alexey Andreev
3801052460
JS: move more test to box tests
2016-09-29 12:00:43 +03:00