Dmitry Jemerov
0ec57e7fee
add missing scope checks for highlight usages (EA-75896)
...
#KT-10038 Fixed
2015-12-08 16:45:19 +01:00
Stanislav Erokhin
10a13e737e
Minor. Add isComputing to DeferredType
2015-12-08 17:29:55 +03:00
Stanislav Erokhin
11410000b4
Minor. Do not resolve implicit invoke for callable reference
2015-12-08 17:29:55 +03:00
Stanislav Erokhin
859a8adc31
Fix priority for functions without infix or operator modifier
2015-12-08 17:29:54 +03:00
Stanislav Erokhin
64b101785f
Minor. Introduce util function
2015-12-08 17:29:54 +03:00
Alexey Sedunov
e82e4bcfc8
Inline Variable: Show error message on attempt to inline unused declaration
2015-12-08 16:21:08 +03:00
Alexey Sedunov
5c88a1c63e
Inline Variable: Parenthesize arguments of the form "e1 < e2" if the next argument has the form "e1 > e2"
...
#KT-8261 Fixed
2015-12-08 16:21:07 +03:00
Alexey Sedunov
b2bdb8ed02
Inline Variable: Inline string template entries
...
#KT-7654 Fixed
2015-12-08 16:21:05 +03:00
Alexey Sedunov
0af2243245
J2K: KotlinInlineValHandler (conversion and refactoring)
2015-12-08 16:21:03 +03:00
Alexey Sedunov
2fef2763ab
J2K: KotlinInlineValHandler (rename to .kt)
2015-12-08 16:21:02 +03:00
Alexey Sedunov
f4135a0a9f
J2K: AbstractInlineTest
2015-12-08 16:21:00 +03:00
Alexey Sedunov
9df3ce018b
J2K: AbstractInlineTest (rename to .kt)
2015-12-08 16:20:58 +03:00
Alexey Sedunov
f6b374f829
Inline Variable: Fix dialog text for non-local variables
...
#KT-6365 Fixed
2015-12-08 16:20:57 +03:00
Alexey Sedunov
e517cbcf78
Quick Fixes: Implement "Rename unresolved reference" fix
...
#KT-8795 Fixed
2015-12-08 16:20:56 +03:00
Alexey Sedunov
d850d7bbad
Change Signature: Parenthesize functional type of receiver in the signature preview
...
#KT-8737 Fixed
2015-12-08 16:20:53 +03:00
Alexey Sedunov
8f8acf7a83
Pull Up: Drop default parameter values in function which becomes overriding. Disable function with default values if target class is the Java one
...
#KT-9833 Fixed
2015-12-08 16:20:52 +03:00
Alexey Sedunov
80051b8303
Create from Usage: Locate new declaration using RangeMarker
...
#KT-9197 Fixed
2015-12-08 16:20:50 +03:00
Alexey Sedunov
99c88cb0c5
Line Marking: Use new-style icons for Kotlin test classes/functions
...
#KT-10235 Fixed
2015-12-08 16:20:48 +03:00
Alexey Sedunov
8fcda32287
Unit Test Tooling: Support Go to Test/Create Test actions for top-level declarations
...
#KT-10133 Fixed
2015-12-08 16:20:47 +03:00
Denis Zharkov
ecac0f177b
Fix order of type parameters loaded from PSI
...
#KT-10285 Fixed
2015-12-08 15:46:34 +03:00
Mikhail Glukhikh
d08f6f8238
DataFlowInfo Refactoring: getNullability() --> getCollectedNullability(); getPossibleTypes() --> getCollectedTypes()
2015-12-08 11:23:44 +03:00
Mikhail Glukhikh
57b3bc0496
Regression: getPredictableNullability for unnecessary safe call check #KT-10276 Fixed
2015-12-08 11:23:35 +03:00
Mikhail Glukhikh
2330ce2c28
Optimization: do not collect not-null types in DataFlowInfo.equate
2015-12-08 11:22:33 +03:00
Mikhail Glukhikh
5c9e55f3fb
DFA bug fix: assignment of unstable to stable uses predictable type set (see test)
2015-12-08 10:13:38 +03:00
Mikhail Glukhikh
2e73bcb3a6
DFA bug fix: assignment of unstable to stable uses predictable nullability (see test)
2015-12-08 10:13:34 +03:00
Mikhail Glukhikh
96d0c4a1db
Nullability bug fix in the source code
2015-12-08 10:13:22 +03:00
Mikhail Glukhikh
bfad9bd87f
More exact unnecessary not-null assertion message #KT-3688 Fixed
2015-12-08 10:13:14 +03:00
Stanislav Erokhin
75245b3046
Rewrite TowerLevels.
2015-12-08 00:16:17 +03:00
Stanislav Erokhin
11c86405bf
Fix ClassKind for Serializable and change ClassKind to INTERFACE for error classes.
2015-12-08 00:16:16 +03:00
Stanislav Erokhin
f2e60a0e11
Minor. Have to deal with error descriptors like previous resolution does.
2015-12-08 00:16:16 +03:00
Zalim Bashorov
1e0b133e19
Find Nothing only in own arguments of generic type to make type raw and generate ''?" for contravariant position instead of use raw type
2015-12-07 19:25:59 +03:00
Alexander Udalov
fa77808319
Rename UpperBoundCheckerTask -> UpperBoundCheckRequest
2015-12-07 15:47:47 +03:00
Alexander Udalov
2dce7ad1e2
Add test on "inconsistent type parameter bounds"
...
It seems that all tests on that diagnostic were replaced in previous commits by
"repeated bound" and "no other bounds except a type parameter bound"
diagnostics
2015-12-07 15:47:47 +03:00
Alexander Udalov
d3c17ec337
Report error when type parameter has a type parameter bound and any other bound
...
To prevent issues with erasure on JVM: it's unclear what such type parameter
should be erased to
2015-12-07 15:47:47 +03:00
Alexander Udalov
b1fa740341
Do not report "inconsistent bounds" when there are repeated bounds
...
Also slightly refactor DeclarationsChecker#checkSupertypesForConsistency
2015-12-07 15:47:47 +03:00
Alexander Udalov
5fbb9bfe3b
Report error on repeated upper bounds for type parameters
2015-12-07 15:47:47 +03:00
Alexander Udalov
21e64e02bd
Report error on more than one class bound for type parameters
...
Such code may behave unexpectedly when compiled to JVM
2015-12-07 15:47:47 +03:00
Alexander Udalov
5541224288
Minor, add test on annotation on type argument
2015-12-07 15:47:47 +03:00
Ilya Gorbunov
dc70c0d31e
Move sequence interface definition to a separate file.
...
Merge SequnceJVM content into Sequences.
2015-12-05 02:40:27 +03:00
Ilya Gorbunov
a15ca7c374
Minor: rename file with sequences
2015-12-05 02:40:25 +03:00
Mikhail Glukhikh
5729855e4f
Type parameter as result type: more precise expected type definition #KT-5385 Fixed
...
Tests for KT-5385 KT-10223 KT-7800 KT-7817 + something related
2015-12-04 19:00:24 +03:00
Natalia Ukhorskaya
51abb021bc
Correct resource path for flavors in android-extensions-plugin
2015-12-04 17:21:37 +03:00
Natalia Ukhorskaya
c523817213
Do not cache AndroidModule in IDEAndroidLayoutXmlManager
2015-12-04 17:21:36 +03:00
Mikhail Glukhikh
408dd9bc9d
Optimization: data flow info no more stores supertypes of the variable original type as possible types (dynamic is an exception)
2015-12-04 11:40:16 +03:00
Denis Zharkov
9c73502bdc
Partially revert "Fix project source to overcome bootstrap problem"
...
Adjust code to new generic signatures generated by Kotlin compiler
This reverts commit 0fd2484bc9 .
2015-12-04 10:19:48 +03:00
Nikolay Krasko
a19708693b
Update kotlin run configuration editor
...
- Remove deprecated component for selecting JRE
- Update module selector
2015-12-04 01:03:26 +03:00
Nikolay Krasko
8683582c40
Fix red code in AbstractEditorForEvaluateExpressionTest.kt
2015-12-03 18:59:55 +03:00
Nikolay Krasko
703f39f492
Add icon for the project
2015-12-03 18:59:55 +03:00
Denis Zharkov
95cecdbc42
Support overrides of generic methods with erased version in Java
2015-12-03 18:19:36 +03:00
Denis Zharkov
4f06cece37
Refactor external overidability conditions
...
Before this change they could only negatively affect on result
Now they may force success result
Also refine overridavility condition for java fields:
two java fields having the same name are seen as overrides even
if they have different type
2015-12-03 18:19:36 +03:00