Zalim Bashorov
1dedb38481
Regenerate tests
2016-11-09 21:41:12 +03:00
Zalim Bashorov
a1730f98ba
Don't generate test when target backend is not suitable
2016-11-09 21:41:12 +03:00
Zalim Bashorov
f382f938c7
Fail when ignored test success in generated tests
...
#KT-14618 Fixed
2016-11-09 21:41:12 +03:00
Zalim Bashorov
584798d3cd
Regenerate tests
2016-11-09 21:41:12 +03:00
Zalim Bashorov
a35a1f6f5a
KJS: run all codegen/box tests
2016-11-09 21:41:12 +03:00
Anton Bannykh
2fb7b01320
Fix capturing variables declared via destructuring (#KT-14535 fixed).
2016-11-01 14:00:24 +03:00
Anton Bannykh
a3566174d6
Support destructuring in lambda parameters (KT-14422) and skipping some components in a destructuring declaration (KT-14507).
2016-10-26 18:29:13 +03:00
Ilya Gorbunov
98f7c61333
Reuse JVM box tests for binary operations in JS, excluding those that can't pass now.
2016-10-26 16:36:09 +03:00
Denis Zharkov
a9fcee098d
Support single-underscore named variables in JVM backend
...
There are mainly two kind of changes:
- skipping 'componentX' calls for destructuring entries named _
- fixing local variable table for them
- skip entries for destructuring entries named _
- use $noName_<i> format for lambda parameters named _
#KT-3824 Fixed
#KT-2783 Fixed
2016-10-24 10:19:25 +03:00
Dmitry Petrov
c41ec1ddfb
KT-14400: Properly handle TypeAliasConstructorDescriptor in KotlinTypeMapper.mapToCallableMethod(...)
...
Implement getDefaultType() in TypeAliasDescriptor subclasses.
2016-10-20 09:56:03 +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
Dmitry Petrov
8d634f6003
KT-14274: resolve type alias constructors calls in supertypes list as type alias constructors.
...
Support @Deprecated for type aliases, including type alias constructors.
2016-10-13 17:52:21 +03:00
Alexey Andreev
30c2c85c94
KT-13830: support case when LHS of augmented assignment is something different than qualified expression or array access
2016-10-11 11:54:04 +03:00
Michael Bogdanov
5bd045c79c
Fix for KT-14243: Wrong invocation descriptor on calling implicitly generated implementation in class
...
#KT-14243 Fixed
2016-10-10 14:17:50 +03:00
Alexey Andreev
61b429f2f0
JS: fix exception during translation of for expression with iterator having generic type constrained by Iterable. Fix #KT-8385
2016-10-10 11:22:21 +03:00
Alexey Andreev
977fd8f591
KT-12707: support case when secondary super constructor has optional parameters
2016-10-10 11:21:45 +03:00
Alexey Andreev
c1b8e50734
KT-12707: (JS) proper translation of a constructor in subclass that calls secondary constructor of parent class. Fix #KT-12707
2016-10-10 11:21:45 +03:00
Alexey Andreev
322f6fe7ac
KT-2752: fix translation of call to internal function from subclass
2016-10-08 19:25:53 +03:00
Alexey Andreev
9c7c82b151
KT-2752: refactor NameSuggestion, change rules for determining name stability and applying mangling
2016-10-08 19:25:50 +03:00
Alexey Andreev
6f7e7d8504
KT-2752: fixes after code review
2016-10-08 19:25:49 +03:00
Alexey Andreev
aa5d15cff7
KT-2752: minor fixes after code review
2016-10-08 19:25:43 +03:00
Alexey Andreev
7956b038fd
KT-2752: add test to prove that KT-13024 is no longer reproducible with new implementation of name mangling
2016-10-08 19:25:43 +03:00
Alexey Andreev
fb7f221158
KT-2752: add test to ensure that JsName affects classes
2016-10-08 19:25:40 +03:00
Alexey Andreev
1dcb037aee
KT-2752: remove diagnostic that reports about overridden method having several names from different sources. Generate proxies instead. Fix reporting name clash when two distinct fake overrides require same name.
2016-10-08 19:25:35 +03:00
Alexey Andreev
c5087779e4
KT-2752: add diagnostics that reports about conflicting overridden declarations
2016-10-08 19:25:34 +03:00
Alexey Andreev
725d13b72e
KT-2752: fix JsName with explicit use target. Add some tests for JsName with use targets
2016-10-08 19:25:33 +03:00
Alexey Andreev
6e1a0901ac
KT-2752: add checkers for inconsistent usage of JsName
2016-10-08 19:25:31 +03:00
Alexey Andreev
5ce158f297
KT-2752: add basic tests for JsName
2016-10-08 19:25:28 +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
9797a1c35c
JS: move RTTI tests to proper location
2016-09-29 12:00:46 +03:00
Alexey Andreev
0c3c2af76d
JS: fix remaining tests. Suppress extensionFromTopLevelUnitOneStringArg.kt, use another approach to check whether object's property accessed via this
2016-09-29 12:00:45 +03:00
Alexey Andreev
44f7a94380
JS: fix bugs in test environment for mocha.js
2016-09-29 12:00:45 +03:00
Alexey Andreev
aa1a0307a6
JS: make most of box tests running in mocha.js
2016-09-29 12:00:44 +03:00
Alexey Andreev
9da1a50cae
JS: move more test to box tests
2016-09-29 12:00:44 +03:00
Alexey Andreev
34bf3e6e56
JS: move more test to box tests
2016-09-29 12:00:43 +03:00
Alexey Andreev
3801052460
JS: move more test to box tests
2016-09-29 12:00:43 +03:00
Alexey Andreev
7e2d5b04de
JS: move more test to box tests
2016-09-29 12:00:42 +03:00
Alexey Andreev
9bf124af3f
JS: move more test to box tests
2016-09-29 12:00:42 +03:00
Alexey Andreev
a18f5eca2d
JS: move more test to box tests
2016-09-29 12:00:41 +03:00
Alexey Andreev
cdf2212c73
JS: move more test to box tests
2016-09-29 12:00:41 +03:00
Alexey Andreev
efb82a044f
JS: move inline test to box tests
2016-09-29 12:00:40 +03:00
Alexey Andreev
b159049be8
JS: move expressions test to box tests
2016-09-29 12:00:40 +03:00
Alexey Andreev
2bf0199959
JS: create new common directory for all generated tests, migrate several tests there
2016-09-29 12:00:39 +03:00
Alexey Andreev
34a57f863b
JS: refactor test classes
2016-09-29 12:00:39 +03:00
Alexey Andreev
db86d34699
JS: move InlineMultiModuleTestGenerated under new test class
2016-09-29 12:00:38 +03:00
Alexey Andreev
dc0d7114be
JS: introduce a new base class for generated tests
2016-09-29 12:00:38 +03:00
Pavel V. Talanov
24d805d2c1
Minor: remove code commited by mistake
2016-09-26 14:46:39 +03:00
Simon Ogorodnik
47bfb8133d
KT-13146 J2K recursion while converting self-referenced anonymous functions ( #956 )
2016-09-26 13:47:31 +03:00