Alexander Udalov
0f2befd327
Minor, fix typos in GenerateProtoBufCompare.kt
2016-01-17 16:28:22 +03:00
Alexander Udalov
f6b5c31e39
build.xml: build kotlin-test along with rest of runtime JARs
2016-01-17 16:28:22 +03:00
Alexander Udalov
8c3661c01c
build.xml: add option to skip jarjar of reflect
2016-01-17 16:28:22 +03:00
Alexander Udalov
078a53e6a0
Minor, add regression test for KT-10444
...
#KT-10444 Obsolete
2016-01-17 16:28:22 +03:00
Alexander Udalov
4a31ad0d53
Make PropertyMetadata internal and deprecated with error
...
To make them inaccessible from Kotlin sources and drop them later. They're
still needed in runtime because Kotlin tests run old IDEA code (which depends
on PropertyMetadata) with our own runtime
2016-01-17 16:28:22 +03:00
Alexander Udalov
d1f2255d38
Extract JS-related LibraryUtils utilities to JsLibraryUtils
2016-01-17 16:28:22 +03:00
Alexander Udalov
f9085327e7
Minor, export kotlin-reflect in 'util'
...
To allow many modules which depend on 'util' not depend explicitly on
kotlin-reflect
2016-01-17 16:28:22 +03:00
Ilya Gorbunov
57dcbe0aea
Cleanup in libraries and tools: use property access syntax.
2016-01-17 15:52:14 +03:00
Ilya Gorbunov
19a4f65fd1
Cleanup in libraries
2016-01-17 15:52:12 +03:00
Ilya Gorbunov
92c2d17910
Cleanup leftovers in compiler and IDE
2016-01-17 15:52:11 +03:00
Ilya Gorbunov
3d5e415c87
Annotate Iterable.forEach and Map.forEach with HidesMembers.
...
#KT-10538 Fixed
#KT-10479 Fixed
2016-01-16 15:33:12 +03:00
Stanislav Erokhin
133155f4cc
Minor. Temporary import forEach as forEachStdLib to avoid problem with introducing HidesMembers annotation
2016-01-16 11:30:38 +03:00
Ilya Gorbunov
56ddd496c5
Hide listFiles as it's no more preferred by overload resolution over synthetic SAM invocations.
...
#KT-10652 Fixed
2016-01-15 23:53:44 +03:00
Stanislav Erokhin
b185316a6e
Create new HidesMembers annotation
2016-01-15 23:32:34 +03:00
Dmitry Jemerov
0c995d0ae1
Merge pull request #808 from mcgee/KT-10196
...
KT-10196: Suggest to replace 'substring' calls by take/drop/dropLast calls when possible
2016-01-15 19:52:35 +01:00
Dmitry Jemerov
63dd0fc4ae
streamlined plugin update logic
2016-01-15 19:18:26 +01:00
Dmitry Jemerov
765d58b8eb
plugin autoupdate fixed: always provide plugin descriptor with new version number to plugin downloader
2016-01-15 19:18:26 +01:00
Michael Bogdanov
9cbde911ce
Revert of 'Minor. workaround for KT-10679 Wrong outer after inline.'
2016-01-15 18:24:34 +03:00
Michael Bogdanov
7eec1d8e1d
Skip inline lambdas in 'InlineCallSite' parameter calculation; Fix for KT-10679: Wrong outer after inline
...
#KT-10679 Fixed
2016-01-15 18:24:33 +03:00
Pavel V. Talanov
abf4a5cf43
Show kotlin builtIn classes in "go to symbol"
...
#KT-10474 Fixed
2016-01-15 18:04:59 +03:00
Pavel V. Talanov
af1e83422e
Move KotlinGotoClassContributor and KotlinGotoSymbolContributor to a single Kotlin file (j2k on the fly)
...
Move the file to "goto" package
2016-01-15 18:04:58 +03:00
Pavel V. Talanov
db07d783a2
Member is considered deprecated if it overrides only deprecated members
...
Property accessor is considered deprecated when the property is
Provide IDE inspection to strikeout members overriding deprecated members (like in java)
2016-01-15 17:53:23 +03:00
Michael Bogdanov
9b3d97470f
Prohibit super calls with default parameters
2016-01-15 17:50:48 +03:00
Mikhail Glukhikh
c48c3fc8ed
Cleanup: DataFlowAnalyzer, ignore MethodMayBeStatic for SmartCastManager
2016-01-15 17:22:57 +03:00
Mikhail Glukhikh
6157ebe3b8
Separate UNSAFE_IMPLICIT_INVOKE_CALL diagnostics introduced (see KT-8252)
2016-01-15 17:22:54 +03:00
Mikhail Glukhikh
fe11b5a473
Minor
2016-01-15 17:22:50 +03:00
Mikhail Glukhikh
1049d4c53a
Nullable function-like property call is prohibited now #KT-8252 Fixed
2016-01-15 17:22:46 +03:00
Mikhail Glukhikh
0f80df7b2e
initialDataFlowInfoForArguments introduced in CallExpressionResolver methods #KT-10175 Fixed
2016-01-15 17:22:42 +03:00
Mikhail Glukhikh
16d97ab72c
Get rid of MutableDataFlorInfoForArguments.setInitialDataFlowInfo
2016-01-15 17:22:38 +03:00
Mikhail Glukhikh
5ceb973ee9
Minor refactoring of getQualifiedExpressionTypeInfo
2016-01-15 17:22:35 +03:00
Alexander Udalov
bb68aacee4
Minor refactoring in TowerResolver
2016-01-15 17:15:00 +03:00
NataliaUkhorskaya
b73ce68dbd
Debugger: quote package fqName properly. Fix muted tests
2016-01-15 15:57:35 +03:00
NataliaUkhorskaya
d4fcb59965
Gradle plugin: fix compatibility with android-gradle plugin 2.0.0-alpha5
...
#KT-10676 Fixed
2016-01-15 15:56:47 +03:00
Stanislav Erokhin
8f441a020e
Minor. workaround for KT-10679 Wrong outer after inline.
2016-01-15 14:44:24 +03:00
Stanislav Erokhin
3a9ecf0bce
Change resolution priority about implicit receivers and synthesized member-like descriptors.
...
Change resolution to consider extensions to implicit receiver before members of another implicit receiver.
Make synthesized member-like extensions resolve right after the members.
#KT-10510 Fixed
#KT-10219 Fixed
2016-01-15 13:11:38 +03:00
Stanislav Erokhin
dee040a5b5
Minor. Extract tower data creation to separate function.
2016-01-15 13:11:37 +03:00
Stanislav Erokhin
dbd6982b3a
Move levels to TowerResolver
2016-01-15 13:11:36 +03:00
Denis Zharkov
a2f8ad1396
Minor. Extract constant FQ names
2016-01-15 09:46:30 +03:00
Denis Zharkov
be2f857670
Introduce inline-only functions
...
They have private visibility in bytecode
2016-01-15 09:46:30 +03:00
Anton Sukhonosenko
b2e98e9353
Suggest to replace 'substring' calls by take/drop/dropLast calls when possible
...
Code review fixes
#KT-10196 Fixed
2016-01-14 22:40:50 +03:00
Valentin Kipyatkov
15930a42b8
Fixed containingDeclaration for descriptors inside init-blocks for the case of no primary constructor
...
KT-10226 Wrong Imports optimization ("Unresolved reference" is being added)
#KT-10226 Fixed
2016-01-14 21:53:41 +03:00
Denis Zharkov
f4613b8db1
Support foreign nullability annotations
...
#KT-10418 Fixed
#KT-10594 Fixed
2016-01-14 19:24:10 +03:00
Denis Zharkov
fd8a718797
Get rid of duplicating annotations FQ names usages
...
E.g. JETBRAINS_NOT_NULL_ANNOTATION were used both in NULLABLE_ANNOTATIONS
and for ANNOTATIONS_COPIED_TO_TYPES
2016-01-14 19:24:10 +03:00
Denis Zharkov
01fd3905be
Minor. Fix typo in package name: typeEnhacement -> typeEnhancement
2016-01-14 19:24:10 +03:00
Valentin Kipyatkov
7c6a33a36c
KT-10664 No code completion after variable initialized with elvis
...
#KT-10664 Fixed
2016-01-14 19:23:01 +03:00
Valentin Kipyatkov
b41f2dcda3
KT-10655 No "in" in code completion popup after "!"
...
#KT-10655 Fixed
2016-01-14 19:23:01 +03:00
Valentin Kipyatkov
2f1108421e
Added container information when needed
2016-01-14 19:23:01 +03:00
Denis Zharkov
23d2b87a52
Ignore redundant projections for declaration-site variance
2016-01-14 19:20:00 +03:00
Pavel V. Talanov
06d0a7c17c
Avoid throwing on trying to obtain module info by some unexpected light element
2016-01-14 18:35:05 +03:00
Ilya Gorbunov
7ddac1945e
Unify functional parameter name for 'let', 'run', 'with', 'apply' scope function with 'use' and 'synchronize'.
2016-01-14 18:31:57 +03:00