Commit Graph

19187 Commits

Author SHA1 Message Date
Alexey Sedunov 346d9ea0c5 Quick Fixes: Add test for KT-5922 (QuickFix to change lambda signature doesn't work with SAM conversion) 2014-12-11 17:50:31 +03:00
Alexey Sedunov 14b33f8b95 Change Signature: Do not report conflict of object member with itself (available through the class object)
#KT-6345 Fixed
2014-12-11 17:50:31 +03:00
Alexey Sedunov 6bbe9b2bfe Change Signature: Add test for KT-6410 (Change signature on constructor inserts fqName for newly added parameter type) 2014-12-11 17:50:29 +03:00
Alexey Sedunov b1f82d7a23 Quick Fixes: Add test for KT-6430 (Create parameter quick fix inserts platform types into Kotlin code) 2014-12-11 17:50:28 +03:00
Alexey Sedunov 8cc3af99a0 Change Signature: Retain parameter modifier list 2014-12-11 17:50:27 +03:00
Alexey Sedunov 7d1ed507a7 Call Hierarchy: Filter out usages inside of import directives 2014-12-11 17:50:26 +03:00
Alexey Sedunov 15d7932491 Minor: Remove unnecessary check for test sources (reverted earlier commit) 2014-12-11 17:50:25 +03:00
Alexander Udalov d71220f8b1 Drop ArrayGenTest, move test case to generated 2014-12-11 16:04:04 +03:00
Denis Zharkov 34d408eb7b Simple workaround for problem described in KT-6437
JS backend generate invalid code when inlining within constructor using property
2014-12-11 16:04:04 +03:00
Denis Zharkov c6d6aebd2f Added tests for stdlib Array constructors 2014-12-11 16:04:04 +03:00
Denis Zharkov fe9599d588 Removed codegen of Array-constructor with lambda 2014-12-11 16:04:04 +03:00
Denis Zharkov d345ba05dd Added inline function "Array" into stdlib
It has the same signature and semantics as Array constructor had
Also made Array constructor private and accepting no arguments
2014-12-11 16:04:03 +03:00
Denis Zharkov 654411a0b0 Refactored tests using Array constructor:
Some moved to tests with stdlib
Some changed to use arrayOfNulls
2014-12-11 16:04:03 +03:00
Denis Zharkov abbcf61183 JVM Backend: always inline callable containing reified TP 2014-12-11 16:04:02 +03:00
Denis Zharkov b86e19782c Moved containsReifiedTypeParameters to DescriptorUtils 2014-12-11 16:04:02 +03:00
Nikolay Krasko 0231aeb017 Memory leak in PermGen of Kotlin Gradle plugin when demon is used (KT-5420)
Stop background thread in Intellij Idea api and clear thread locals to allow gc the created class loader

 #KT-5420 In Progress
2014-12-11 15:30:01 +03:00
Nikolay Krasko 727c49146b Prepare for KT-5420 - Copy files before patch 2014-12-11 15:25:18 +03:00
Zalim Bashorov 6b50d74056 JS backend: use special JsScope(JsDynamicScope) for names from dynamic calls instead of use containing scope to avoid the impact on local names. 2014-12-11 13:17:49 +03:00
Zalim Bashorov af82e69214 JS tests: added tests for dynamic. 2014-12-11 13:17:49 +03:00
Zalim Bashorov 7d9b824411 JS tests: use js files from some places by default:
* add all js files from testData/_commonFiles
* add all js files from <testDir>/_commonFiles
* add <testDir>/cases/<testName>.js if it exists
2014-12-11 13:17:48 +03:00
Zalim Bashorov 2f6a135135 JS tests: added doTest and checkFooBoxIsOkByPath to BasicTest to simplify using generated tests. 2014-12-11 13:17:47 +03:00
Zalim Bashorov 4c9fbcd525 JS frontend: introduce some JavaScript specific constants. 2014-12-10 22:48:02 +03:00
Zalim Bashorov bc3f53afff JS backend: added the support dynamic. 2014-12-10 22:48:02 +03:00
Zalim Bashorov 45b0fd9f4c Minor in JS backend: simplify CompareToBOIF::getIntrinsic. 2014-12-10 22:48:01 +03:00
Zalim Bashorov eadb2d8db5 Minor in JS backend: save operation token as member of BinaryOperationTranslator. 2014-12-10 22:48:01 +03:00
Zalim Bashorov e378bde43e JS backend: fix "is Boolean" check. 2014-12-10 22:48:01 +03:00
Zalim Bashorov 2ccc027ba5 Minor in JS AST: drop unused constructors from JsBinaryOperation, JsUnaryOperation, JsPrefixOperation and JsPostfixOperation. 2014-12-10 22:48:01 +03:00
Zalim Bashorov 354af95d47 Frontend: add JetTokens.EQEQEQ and JetTokens.EXCLEQEQEQ to OperatorConventions.NOT_OVERLOADABLE 2014-12-10 22:48:01 +03:00
Zalim Bashorov bc3859181f Frontend: add default getter and setter to dynamic property descriptors. 2014-12-10 22:48:01 +03:00
Zalim Bashorov 65ef7525ce Allow to use dynamic types for JS projects in IDEA. 2014-12-10 22:48:00 +03:00
Alexander Udalov f08c9d9815 Rename module build-tools -> ant 2014-12-10 18:23:46 +03:00
Alexander Udalov 06984328e2 Exclude "target" and "local-repo" directories from IDEA project 2014-12-10 18:21:11 +03:00
Andrey Breslav 2c45670cc5 NPE fixed 2014-12-10 17:34:17 +03:00
Andrey Breslav 638e768226 Minor. Class renamed 2014-12-10 16:18:38 +03:00
Andrey Breslav d17edacb65 Discriminate calls with implicit dynamic receivers 2014-12-10 16:18:38 +03:00
Evgeny Gerashchenko fbb4ed181a Minor. Computing package FQ later. 2014-12-10 15:27:43 +03:00
Andrey Breslav a4df1ec7ae Merge pull request #532 from yole/coverage-jacoco
add missing jars to coverage agent library
2014-12-10 15:06:47 +03:00
Dmitry Jemerov 074e284ea4 add missing jars to coverage agent library 2014-12-10 12:55:17 +01:00
Evgeny Gerashchenko 4e702e34f0 Fixed incremental compilation, when removing all callables from file. 2014-12-10 14:28:21 +03:00
Evgeny Gerashchenko d126a9711c KT-6409 Do not create empty PersistentHashMap instances for modules without kotlin files during build
#KT-6409 fixed
2014-12-10 14:28:21 +03:00
Natalia Ukhorskaya 0ca811d7ae Rename test 2014-12-10 13:45:30 +03:00
Natalia Ukhorskaya 9338b27bcd Update to IDEA 14.0.2 (139.659.2) 2014-12-10 12:47:42 +03:00
Natalia Ukhorskaya 64dac7a19d Fix line separators in JsLibrarySourceConfig 2014-12-10 12:41:15 +03:00
Natalia Ukhorskaya c807cebfe6 Merge pull request #530 from yole/coverage
Initial implementation of coverage support in IntelliJ IDEA plugin.
2014-12-10 12:35:10 +03:00
Dmitry Jemerov 274e529b90 code review 2014-12-09 12:36:44 +01:00
Evgeny Gerashchenko 153272a189 Updated test data for tests according to change in JPS.
These tests were not deterministic. Now they are. When package facade's sources change (files added to package, etc), all package gets recompiled now. Behavior is tolerable, but not very desirable.
2014-12-09 12:08:03 +03:00
Denis Zharkov 9910f7cfbd Added test demonstrating usage of reified TP for dependency injection 2014-12-08 21:30:54 +03:00
Denis Zharkov 010af19fe9 Delegated Properties: allowing type parameters for get/set methods
#KT-6253 Fixed
2014-12-08 21:30:54 +03:00
Nikolay Krasko 3677881e18 Change parser error for when (KT-6420)
#KT-6420 Fixed
2014-12-08 20:42:48 +03:00
Nikolay Krasko 34eb9e9cd4 Fix build version in jb-update 2014-12-08 20:42:47 +03:00