Alexey Tsvetkov
6ba5dcaa06
Simplify collection externalizers
2015-12-09 16:23:35 +03:00
Nikolay Krasko
8a95f23a23
Adjust formatting for FILE_ANNOTATION_LIST
2015-12-09 16:01:56 +03:00
Nikolay Krasko
966ad9d3b6
Move idea-repl module to ide group
2015-12-09 16:01:55 +03:00
Nikolay Krasko
a2d6bd09f3
Minor: allow to use ${file} directive in action text to reference file name
2015-12-09 16:01:53 +03:00
Nikolay Krasko
3374ac7606
Minor: More tests for warnings suppression
2015-12-09 16:01:52 +03:00
Nikolay Krasko
3c5b02e54a
Minor: better diagnostic message in tests
2015-12-09 16:01:50 +03:00
Nikolay Krasko
789738c45f
Minor: add fqname to dictionary
2015-12-09 16:01:49 +03:00
Dmitry Jemerov
e97e82d119
use terms "lambda expression" and "anonymous function" instead of "function literal" and "function expression"
2015-12-09 13:55:40 +01:00
Alexander Udalov
9a01c0d9cb
Test that no delegated properties are used in critical classes in reflection
2015-12-08 22:59:00 +03:00
Stanislav Erokhin
cfed28c2ff
Use CastImplicitClassReceiver for implicit this with smart cast
2015-12-08 20:42:55 +03:00
Stanislav Erokhin
b7e4fdf4d5
Add extensionReceiver to ScopeTowerLevel & use it in ImportingScopeBasedTowerLevel
2015-12-08 20:42:55 +03:00
Dmitry Jemerov
57b5588498
rename "Jet" to "Kotlin" in CFG classes
2015-12-08 16:54:09 +01:00
Dmitry Jemerov
3275542426
one more missing invokeLater() for plugin update checks (EA-76738 - Throwable: DebugUtil.currentStackTrace)
2015-12-08 16:45:40 +01:00
Dmitry Jemerov
d65c8fb06c
double-check action parameters (EA-76026 - KNPE: ShowExpressionTypeAction.actionPerformed)
2015-12-08 16:45:39 +01:00
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