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
Denis Zharkov
8838e46578
Do not create KotlinTypeImpl with error scope while erasing
...
See assertion in KotlinTypeImpl init block
2015-12-03 18:19:36 +03:00
Denis Zharkov
e2b51f30ed
Extract 'doSubstitute' parameters into SubstitutionConfiguration
2015-12-03 18:19:36 +03:00
Natalia Ukhorskaya
a197fc8cb8
Fix NoSuchMethod in android-extensions-plugin
...
#KT-10263 Fixed
2015-12-03 16:17:24 +03:00
Michael Bogdanov
4b8017e34b
Fix for KT-7999: Wrong result when use nullable types as reified parameter, KT-8043: Unsafe cast to reified parameter throws NPE instead of TypeCastException
...
#KT-7999 Fixed
#KT-8043 Fixed
~
2015-12-03 15:09:54 +03:00
Dmitry Jemerov
3478a6fb6c
download markdown tagged with forKotlin, not latest build from master
2015-12-03 11:57:55 +01:00
Dmitry Jemerov
ce9012c352
fix compilation after changes in markdown library
2015-12-02 19:44:46 +01:00
Alexey Tsvetkov
d53cd3c70b
Save system properties in incremental jps tests
2015-12-02 20:56:38 +03:00
Alexey Tsvetkov
73444ce59b
Minor: refactor shouldRebuildBecauseVersionChanged
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov
7fff17ba7c
Minor: rename CACHE_DIRECTORY_NAME->KOTLIN_CACHE_DIRECTORY_NAME
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov
7063e1f56a
Do not mark dirty same files
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov
4800cff87f
Do not recompile files compiled in current round
2015-12-02 20:56:37 +03:00