Commit Graph

20400 Commits

Author SHA1 Message Date
Alexander Udalov b99b1883bc Drop unused parameter in JavaToKotlinClassMap and subclasses 2015-02-25 20:13:46 +03:00
Alexander Udalov fca7a8c4a2 Drop PrimitiveTypesUtil, store desc in JvmPrimitiveType 2015-02-25 20:13:46 +03:00
Alexander Udalov 27978a7e25 Clarify inapplicable platformName diagnostic message 2015-02-25 20:13:45 +03:00
Dmitry Jemerov 35e8e4d49a Support spellchecking in Kotlin string literals; remove unused and unnecessary support for custom suppressions of spelling errors 2015-02-25 18:00:59 +01:00
Natalia Ukhorskaya e0e203d7db Debugger: classLoader can be null (ex. classes from android application). JDIEval will use CallerClassLoader for find classes
#KT-6825 Fixed
2015-02-25 16:42:17 +03:00
Natalia Ukhorskaya 957d1c19c5 JDIEval: allow classLoader to be null (load class from caller classloader) 2015-02-25 16:42:17 +03:00
Andrey Breslav b0422990d9 KT-6527 Wrong diagnostics when compare dynamic to null
#KT-6527 Fixed
2015-02-25 14:59:22 +03:00
Andrey Breslav a00a118f94 EA-63343 - assert: DescriptorUtils.getClassDescriptorForTypeConstructor
#KT-6835 Fixed
2015-02-25 14:59:22 +03:00
Andrey Breslav d70d2ca146 Nullability of error types is not known
#KT-6829 Fixed
2015-02-25 14:59:21 +03:00
Nikolay Krasko f3919db592 Find usages and reference to delegation origin 2015-02-24 21:52:52 +03:00
Nikolay Krasko 377209f0c3 Do not report CONFLICTING_JVM_DECLARATIONS on delegated origin element 2015-02-24 21:33:55 +03:00
Stanislav Erokhin c6f8a1cfcc Add support local return from lambda with implicit unit type. 2015-02-24 14:14:49 +03:00
Stanislav Erokhin 57fd5cc84c Support local return in lambda without explicit return type 2015-02-24 14:14:49 +03:00
Stanislav Erokhin def81d30dc Minor: simplify expression 2015-02-24 14:14:48 +03:00
Nikolay Krasko 8ea9d39e98 Do not generate long lines and simplify merge in generated tests 2015-02-24 13:15:09 +03:00
Alexander Udalov 768a67d1f1 Output version upon REPL start 2015-02-24 11:10:26 +03:00
Alexander Udalov cf0842b135 Fix initialization order in REPL
#KT-6843 Fixed
2015-02-22 16:12:38 +03:00
Andrey Breslav e47a156e36 KT-6810 Don't report warnings in dummy.kt
#KT-6810 Fixed
2015-02-21 13:51:13 +03:00
Alexey Sedunov 95675176df Change Signature: Add test for KT-5784 "Generate import on function refactoring when parameter changes type"
#KT-5784 Fixed
2015-02-20 19:08:22 +03:00
Alexey Sedunov a21163b8c4 Change Signature: Add test for KT-4013 "'Change signature' does not add necessary imports"
#KT-4013 Fixed
2015-02-20 19:08:19 +03:00
Alexey Sedunov 8e2b0875c2 Intentions: Forbid conversion of vararg parameter to receiver 2015-02-20 19:08:17 +03:00
Alexey Sedunov 2af83c58c9 Create from usage: Use separate editor for templates which should be placed in Java files 2015-02-20 19:08:14 +03:00
Alexey Sedunov 6bdff82c3a Create from usage: Do not create functions/properties from import directives 2015-02-20 19:08:11 +03:00
Alexey Sedunov 41d51e0a13 Create from usage: Assume String return type for function whch is called inside of string template
#KT-6083 Fixed
2015-02-20 19:08:08 +03:00
Alexey Sedunov 0ae69e0d3e Create from usage: Do not generate function body if it's declared as a trait member
#KT-6078 Fixed
2015-02-20 17:28:41 +03:00
Alexey Sedunov 60d02dab0f Create from usage: Support generation of nested Java classes from usages in Kotlin code 2015-02-20 17:28:40 +03:00
Alexey Sedunov 5cd477279b Create from usage: Support static Java members 2015-02-20 17:28:39 +03:00
Alexey Sedunov 19fc9adffa Create from usage: Support generation of Java fields from usages in Kotlin code 2015-02-20 17:28:38 +03:00
Alexey Sedunov 34d8e1c08c Create from usage: Support generation of Java methods from usages in Kotlin code 2015-02-20 17:28:37 +03:00
Alexey Sedunov 97b0f50d35 Create from usage (function/property): Suggest separate actions for extensions and non-extension declarations
#KT-6023 Fixed
2015-02-20 17:28:36 +03:00
Alexey Sedunov 41a4dd4128 Create from usage: Rename package: createFunction -> createCallable 2015-02-20 17:28:34 +03:00
Alexey Sedunov ecd9ee45c8 Move: Do not process 'super' references
#KT-6769 Fixed
2015-02-20 17:28:33 +03:00
Alexey Tsvetkov ae970044e2 JS: extracted ThrowExceptionReporter 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov b01aa5e0a5 JS: simplified parser exceptions 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 802a512899 JS: removed AstConsumer from tests 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov fabcfc7b7f JS: added js() diagnostics tests 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 1e7de9d5d0 JS: removed cli test for js() errors 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 180272e4cb JS: underline js() errors for non-string-literal constants 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 1087ae4779 JS: use ConstantEvaluator at CallExpressionTranslator 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 4f992eeeb4 JS: report right end of js() error 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 05ef358177 JS: check js() call at frontend 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov f5eb39e1f1 JS: added TranslationResult 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov aa5f237154 JS: use one BindingTrace for translation 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov baccfa914f JS: removed unused rhino error reporter method 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov b431bf6fc9 JS: made JsCodeErrorReporter class static 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov 200e3afbe1 JS: moved PatternBuilder to JS frontend 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov f9648c6f21 Minor in JS: renamed file according to class name 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov 33f6759966 Minor in JS: updated copyrights 2015-02-20 16:01:25 +03:00
Pavel V. Talanov 9cf3a11efc Add quick fixes for newly introduced diagnostics 2015-02-20 14:47:37 +03:00
Pavel V. Talanov ca3096a948 Prohibit inner classes in objects
Using inner classes in objects makes little sense since objects have single static instance
2015-02-20 14:47:37 +03:00