1.1.2-eap-44
1.1.2
Compiler
KT-3805Report error on double constants out of rangeKT-6014Wrong ABSTRACT_MEMBER_NOT_IMPLEMENTED for toString implemented by delegationKT-8689NoSuchMethodError on local functions inside inlined lambda with variables captured from outer contextKT-8959Missing diagnostic when trying to call inner class constructor qualificated with outer class nameKT-11010NDFDE for local object with type parametersKT-11314Abstract generic class with Array<Array> parameter compiles fine but fails at runtime with "Bad type on operand stack" VerifyErrorKT-12477Do not report 'const' inapplicability on property of error typeKT-12839Two null checks are generated when manually null checking platform typeKT-12881Descriptor wasn't found for declaration TYPE_PARAMETERKT-13342Unqualified super call should not resolve to a method of supertype overriden in another supertypeKT-14058Unexpected error MISSING_DEPENDENCY_CLASSKT-14236Allow to use emptyArray in annotationKT-14536IllegalStateException: Type parameter T not found for lazy class Companion at LazyDeclarationResolver visitTypeParameterKT-14565Cannot pop operand off empty stack when compiling enum classKT-14566Make kotlin.jvm.internal.Ref$...Ref classes serializableKT-14567VerifyError: Bad type on operand stack (generics with operator methods)KT-14607Incorrect class name "ava/lang/Void from AsyncTask extension functionKT-14811Unecessary checkcast generated in parameterized functions.KT-14865Throwable exception at KotlinParser parseLambdaExpression on typing { inside a string inside a lambdaKT-14963unnecessary checkcast java/lang/ObjectKT-15105Comparing Chars in a Pair results in ClassCastExceptionKT-15109Subclass from a type alias with named parameter in constructor will produce compiler exceptionKT-15192Compiler crashes on certain companion objects: "Error generating constructors of class Companion with kind IMPLEMENTATION"KT-15230Multiplatform: impl member with generic type is not matched to header class correctlyKT-15382Merge light-analysis tests into black box codegen testsKT-15424javac crash when calling Kotlin function having generic varargs with default and JvmOverloads (@jvmoverloads)KT-15516Compiler error when passing suspending extension-functions as parameter and casting stuff to AnyKT-15521Header classes shadow their implementations in platform specific projectKT-15574Can't instantiate Array through Type AliasKT-15594java.lang.VerifyError when referencing normal getter in @JvmStatic getters inside an objectKT-15742Update to Idea 171KT-15759tailrec suspend function fails to compileKT-15802Java constant referenced using subclass is not considered a constant expressionKT-15862Inline generic functions can unexpectedly box primitivesKT-15871Unnecessary boxing for equality operator on inlined primitive valuesKT-15872Constant folding is mistakenly triggered for user functionKT-15901Unstable smart cast target after type checkKT-15946Kotlin-JPA plugin support for Embeddable (@embeddable)KT-15951Callable reference to class constructor from object is not resolvedKT-15993Property annotations are stored in private fields and killed by obfuscatorsKT-15997Reified generics don't work properly with crossinline functionsKT-16077Redundant private getter for private var in a class within a JvmMultifileClass annotated fileKT-16113Support destructuring parameters of suspend lambda with suspend componentXKT-16194Code with unnecessary safe call contains redundant boxing/unboxing for primitive valuesKT-16232Prohibit objects inside inner classesKT-16233Prohibit inner sealed classesKT-16245Redundant null-check generated for a cast of already non-nullable valueKT-16250Import methods from typealias to object throws compiler exception "Should be class or package: typealias"KT-16252IDL2K: Add ItemArrayLike interface implementation to collection-like classesKT-16272Missing deprecation and SinceKotlin-related diagnostic for variable as function callKT-16278Public member method can't be used for callable reference because of private static with the same nameKT-16372'mod is deprecated' warning should not be shown when language version is 1.0KT-16484SimpleTypeImpl should not be created for error type: ErrorScopeKT-16528Error: Loop in supertypes when using Java classes with type parameters having raw interdependent supertypesKT-16532Kotlin 1.1 RC - Android cross-inline synchronized won't runKT-16538No smart cast when equals is presentKT-16555VerifyError: Bad type on operand stackKT-16572Add links to Mozilla Developer Network to kdocs of classes that we generate from IDLKT-16627Do not make private members open in all-open pluginKT-16699Script resolving doesn't work with custom templates located in an external jarKT-16713Insufficient maximum stack sizeKT-16720ClassCastException during compilationKT-16732Type 'java/lang/Number' (current frame, stack[0]) is not assignable to 'java/lang/CharacterKT-16782Enum entry is incorrectly forbidden on LHS of '::' with language version 1.0KT-16812import in .kts file does not worksKT-16815Assertion error from compiler: unexpected classifier: class DeserializedTypeAliasDescriptorKT-16927UsingKotlinJsr223JvmLocalScriptEngineFactorycauses multiple warningsKT-16929VerifyErrorwhen using bound method reference on generic propertyKT-16931Compiler cannot see inner class when for outer class exist folder with same nameKT-16956Prohibit using function calls inside default parameter values of annotationsKT-16968AssertionError: Cannot load extensions/common.xml from kotlin-compiler.jar after update to IDEA 171KT-17001Overload ambiguity between header and impl top level declarationsKT-17005Impossible to provide impl with typealias due to platform types in signatureKT-17027Allow impl declarations to have non-stable (and thus potentially different) parameter namesKT-17083Disallow using named arguments for members of header classes
Tools
KT-15420Maven, all-open plugin: in console the settings of all-open are always reported as empty
Kapt
KT-12432Dagger 2 does not generate Component which was referenced from Kotlin file.KT-8558KAPT only works with service-declared annotation processorsKT-16753kapt3 generates invalid stubs when IC is enabledKT-16458kotlin-kapt / kapt3: "cannot find symbol" error for companion object with same name as enclosing classKT-14478Add APT / Kapt support to the maven pluginKT-14070Kapt3: kapt doesn't compile generated Kotlin files and doesn't use the "kapt.kotlin.generated" folder anymore
Gradle
KT-15084Navigation into sources of gradle-script-kotlin doesn't workKT-16003Gradle Plugin Fails When Run From Jenkins On Multiple NodesKT-16585Kotlin Gradle Plugin makes using Gradle Java incremental compiler not workKT-16902Gradle plugin compilation on daemon fails on Linux ARMKT-14619Gradle: The '-d' option with a directory destination is ignored because '-module' is specifiedKT-12792Automatically configure standard library dependency and set its version equal to compiler version if not specifiedKT-15994Compiler arguments are not copied from the main compile task to kapt taskKT-16820Changing compileKotlin.destinationDir leads to failure in :copyMainKotlinClasses task due to an NPEKT-16917First connection to daemon after start timeouts when DNS is slow
Android support
KT-16624Implement quickfix "Add TargetApi/RequiresApi annotation" for Android api issuesKT-16625Implement quickfix "Surround with if (VERSION.SDK_INT >= VERSION_CODES.SOME_VERSION) { ... }" for Android api issuesKT-16840Kotlin Gradle plugin fails with Android Gradle plugin 2.4.0-alpha1KT-16897Gradle plugin 1.1.1 duplicates all main classes into Android instrumentation test APKKT-16957Android Extensions: Support Dialog classKT-15023Androidgradle installDebugAndroidTestfails unless you first callgradle assembleDebugAndroidTestKT-12769"Name for method must be provided" error occurs on trying to use spaces in method name in integration tests in AndroidKT-12819Kotlin Lint: False positive for "Unconditional layout inflation" when using elvis operatorKT-15116Kotlin Lint: problems in property accessors are not reportedKT-15156Kotlin Lint: problems in annotation parameters are not reportedKT-15179Kotlin Lint: problems inside local function are not reportedKT-14870Kotlin Lint: problems inside local class are not reportedKT-14920Kotlin Lint: "Android Lint for Kotlin | Incorrect support annotation usage" inspection does not report problemsKT-14947Kotlin Lint: "Calling new methods on older versions" could suggest specific quick fixesKT-12741Android Extensions: Enable IDE plugin only if it is enabled in the build.gradle fileKT-13122Implement '@RequiresApi' intention for android and don't report warning on annotated classesKT-16680Stack overflow in UAST containsLocalTypes()KT-15451Support "Android String Reference" folding in Kotlin filesKT-16132Renaming property provided by kotlinx leads to renaming another members
IDE
KT-4578Intention to move property between class body and constructor parameterKT-7516Rename refactoring doesn't rename related labelsKT-7520Exception when try rename label from usageKT-8568Provide a QuickFix to replace typeArray<Int>in annotation withIntArrayKT-8955Refactor / Move package: KNPE at KotlinMoveDirectoryWithClassesHelper.postProcessUsages() with not matching package statementKT-9275Unhelpful IDE warning "Configure Kotlin"KT-10393Detect calls to functions returning a lambda from expression body which ignore the return valueKT-11234Debugger won't hit breakpoint in nested lambaKT-11393Inspection to highlight and warn on usage of internal members in other module from JavaKT-11828Configure Kotlin in Project: failure for Gradle modules without build.gradle (IDEA creates them)KT-11863Refactor / Move: moving referred file level elements to another package keeps reference to old FQNKT-12002Improve completion for closure parameters to work in more placesKT-12004IDE inspection that destructuring variable name matches the other name in data classKT-12183Intention converting several calls with same receiver to 'with'/apply/runKT-12261Partial body resolve doesn't resolve anything in object literal used as an expression body of a methodKT-13013"Go to Type Declaration" doesn't work for extension receiver and implict lambda parameterKT-13111Support bound references in lambda-to-reference intention / inspectionKT-13135IDE goes in an infinite indexing loop if a .kotlin_module file is corruptedKT-13190Refactor / Move: no warning on moving class containing internal member to different moduleKT-13341Convert lambda to function reference intention is not available for object member callsKT-13755When (java?) class is moved redundant imports are not removedKT-13911Refactor / Move: "Problems Detected" dialog is not shown on moving whole .kt fileKT-14129for/iter postfix templates should be applied for string, ranges and mutable collectionsKT-14134Allow to apply for/iter postfix template to mapKT-14401Can't rename implicit lambda parameter 'it' when caret is placed right after the last characterKT-14483"Argument of NotNull parameter must be not null" in KotlinTryCatchSurrounder when using "try" postfix templateKT-14727Wrong samples for some postfix templatesKT-14871Idea and Maven is not in sync with ModuleKind for Kotlin projectsKT-14986Disable postfix completion when typing package statementsKT-15075KNPE in "Specify explicit lambda signature"KT-15107Cannot navigate to Regex from jvm and js libraries in multiplatform projectKT-15190Refactor / Move: false Problems Detected on moving class using parent's protected memberKT-15200Show implementation should show inherited classes if a typealias to base class/interface is usedKT-15250Convert anonymous object to lambda is shown when conversion not possible due implicit calls on thisKT-15339Extract Superclass is enabled for any element: CommonRefactoringUtil$RefactoringErrorHintException: "Superclass cannot be extracted from interface" at ExtractSuperRefactoring.performRefactoring()KT-15398Annotations find usages in annotation instance siteKT-15536Highlight usages: Class with primary constructor isn't highlighted when caret is on constructor invocationKT-15559Kotlin: Moving classes to different packages breaks references to companion object's propertiesKT-15556Convert lambda to reference isn't proposed for parameterless constructorKT-15586ISE during "Move to a separate file"KT-15628Change error message if both KotlinJavaRuntime and KotlinJavaScript libraries are present in the module dependenciesKT-15768It would be nice to show in Kotlin facet what compiler plugins are on and their optionsKT-15822Move class refactoring leaves unused importsKT-15842Introduce new icons for multiplatform navigationKT-15855Can't evaluate expression in @JvmStatic methodKT-15947Kotlin facet: Target platform on importing from a maven project should be filled the same way for different artifactsKT-15966Create quickfix for DELEGATED_MEMBER_HIDES_SUPERTYPE_OVERRIDEKT-16022Kotlin facet: provide UI to navigate to project settingsKT-16023Kotlin facet: When "Use project settings" is enabled, respective fields should show values from the project settingsKT-16032Kotlin code formatter merges comment line with non-comment lineKT-16038UI blocked on pasting java code into a kotlin fileKT-16062Kotlin breakpoint doesn't work in some lambda in Rider project.KT-16074Introduce a quick-fix adding noinline modifier for a value parameter of suspend function typeKT-16078Formatter puts empty body braces on different lines when KDoc is presentKT-16108Cannot rename class on the companion object referenceKT-16131Add quickfix for: Cannot access member: it is invisible (private in supertype)KT-16162IAE for destructuring declaration entry from KotlinFinalClassOrFunSpringInspectionKT-16188Add create class quickfixKT-16198Extract method refactoring should order parameters by first usageKT-16214Do not hide package kotlin.reflect.jvm.internal from auto-import and completion, inside package "kotlin.reflect"KT-16258Add intention to add missing components to destructuring assignmentKT-16265Parameter info doesn't work with type alias constructorKT-16292Support "Reference to lambda" for bound referencesKT-16313Kotlin facet: unify filling up information about included AllOpen/NoArg plugins on importing from Maven and GradleKT-16316IDE: don't show Kotlin Scripting section when target platform is JavaScriptKT-16317IDE: some fields stay enabled in an facet when use project settings was chosenKT-16342Kotlin facet: JavaScript platform is not detected if there are 2 versions of stdlib in dependenciesKT-16353Configure Kotlin in Project: configurators are not suggested for Gradle module in non-Gradle project with separate sub-modules for source setsKT-16381Configure Kotlin dialog suggests modules already configured with other platformsKT-16401Configure Kotlin in the project adds incorrect dependency kotlin-stdlib-jre8 to 1.0.x languageKT-16525Breakpoint-skip on special Kotlin callsKT-16550Kotlin facet from Maven: provide error messages if additional command line parameters are set several timesKT-16556Move refactoring shows Refactoring cannot be performed warning.KT-16571Configure Kotlin in Project does not suggest just published versionKT-16590Configure kotlin warning popup after each sync gradleKT-16596Hang in IntelliJ while scanning zipsKT-16605NPE caused by Rename Refactoring of backing field when caret is after the last characterKT-16646The flag to enable coroutines does not sync from gradle file in Android StudioKT-16647Don't create kotlinc.xml if the settings don't differ from the defaultsKT-16649All Gradle related classes should be moved to optional dependency section of plugin.xmlKT-16667Kotlin debugger "smart step into" fail on method defined in the middle of class hierarchyKT-16698Kotlin facet: modules created from different gradle sourcesets have the same module optionsKT-16700Kotlin facet: jdkHome path containing spaces splits into several additional args after importKT-16776Kotlin facet, import from maven: free arguments from submodule doesn't override arguments from parent moduleKT-16788Importing Kotlin Maven projects results in invalid .imlKT-16800Autocomplete for closure with single argumentsKT-16809Move refactoring fails badlyKT-16827kotlin javascript module not recognized by gradle sync when an android module is presentKT-16848Regression: completion after dot in string interpolation expression doesn't work if there are no curly bracesKT-16857False "Remove redundant 'let'" suggestionKT-16888"Multiple values are not allowed for plugin option org.jetbrains.kotlin.android:package" when rebuilding projectKT-16903"Convert to primary constructor" doesn't update supertype constructor call in supertypes list in case of implicit superclass constructor callKT-16928Surround with null check quickfix works badly in case of qualifierKT-16980Accessing language version settings for a module performs runtime version detection on every access with no cachingKT-16991Navigate to receiver from this in extension functionKT-16992Navigate to lambda start from auto-generated 'it' parameterKT-17002Make "Lambda to Reference" inspection off by defaultKT-17006Refactor / Move: usage of library function is reported as problem on move between modules with different library versionsKT-17032Refactor / Move updates references to not moved class from the same fileKT-13740Plugin crashes at accidentally wrong annotation argument type
JS
KT-6627JS: test sources doesn't compile from IDEKT-13610JS: boxed Double.NaN is not equal to itselfKT-16012JS: prohibit nested declarations, except interfaces inside external interfaceKT-16043IDL: mark inline helper function as InlineOnlyKT-16058JS: getValue/setValue don't work if they are declared as suspendKT-16164JS: Bad getCallableRef in suspend functionKT-16350KotlinJS - wrong code generated when temporary variables generated for RHS of&&operationKT-16377JS: losing declarations of temporary variables in secondary constructorsKT-16545JS: ::class crashes at runtime for primitive types (e.g. Int::class, or Double::class)
Reflection
KT-9453ClassCastException: java.lang.Class cannot be cast to kotlin.reflect.KClassKT-11254Make callable references Serializable on JVMKT-11316NPE in hashCode of KProperty object created for delegated propertyKT-12630KotlinReflectionInternalError on referencing some functions from stdlibKT-14731When starting application from test source root, kotlin function reflection fails in objects defined in sourcesKT-15847NullPointerException when calling hashCode() on a top level function reference