Ilya Chernikov
22283be1b7
minor: Make term "canceled" uniformly spelled in identifiers and strings in the daemon
2016-05-06 13:06:38 +02:00
Ilya Chernikov
1614aca48e
Implement graceful connection failure behavior on daemon connect and cancellation check
...
Should fix (or actually - behave gracefully on) #EA-74003, #EA-74493, #EA-76032, #EA-76529, #EA-81295
Tests added
2016-05-06 13:06:38 +02:00
Ilya Chernikov
336226ac9e
minor: Switch to simpler descending sort, reduce dependency
2016-05-06 13:06:37 +02:00
Nikolay Chashnikov
551aa7047e
run configuration: use default logic of creating new run configurations to avoid sharing RunConfigurationModule instances between different run configurations (KT-12204) ( #869 )
2016-05-06 12:01:12 +03:00
Zalim Bashorov
c11d504a26
Minor: add test for KT-11993 "NoSuchMethodError when testing internal symbols"
2016-05-05 20:45:29 +03:00
Nikolay Krasko
6cafa51b07
Description for AddJvmOverloadsIntention
2016-05-05 17:27:48 +03:00
Nikolay Krasko
527907635d
Enable JDK 8 level in some tests for correct convert for method references
2016-05-05 17:27:47 +03:00
Alexey Andreev
12c9a97587
JS/RTTI: minor refactoring of expandInCalls
2016-05-05 17:24:27 +03:00
Alexey Andreev
7ff658414f
JS/RTTI: if it's known that T <: X & Y, where T is non-reified type variable, for each a is T check that a is X && a is Y
2016-05-05 17:24:26 +03:00
Alexey Andreev
6454613b51
JS/RTTI: in expressions like a as T when inferred type for a is S, where S <: T, don't generate type checking
2016-05-05 17:24:25 +03:00
Alexey Andreev
0f6a6a3ba4
JS/RTTI. Fix runtime checking against kotlin.CharSequence
2016-05-05 17:24:25 +03:00
Alexey Andreev
f52b836f0e
JS/RTTI: fix withInlineTurnedOff test
2016-05-05 17:24:24 +03:00
Alexey Andreev
75015f6bfa
JS/RTTI: fix compiler crashing when translating expressions like (continue as T)
2016-05-05 17:24:23 +03:00
Zalim Bashorov
3a87049359
JS/RTTI. Fix build and tests
2016-05-05 17:24:23 +03:00
Alexey Tsvetkov
9bb60b48b2
JS/RTTI. Fix run-time type checking against Comparable
2016-05-05 17:24:22 +03:00
Alexey Tsvetkov
390d71ac8d
JS/RTTI. Fix RegExpMatch
2016-05-05 17:24:21 +03:00
Alexey Tsvetkov
fcd941ad49
JS/RTTI: removed Kotlin.orNull(Kotlin.isAny) optimization
2016-05-05 17:24:21 +03:00
Alexey Tsvetkov
f7af868d4f
JS/RTTI: added another cast to reified test
2016-05-05 17:24:20 +03:00
Alexey Tsvetkov
a9d5c74ff7
JS/RTTI: Added cast to Array test
2016-05-05 17:24:19 +03:00
Alexey Tsvetkov
c99fd179e1
JS/RTTI: simplify cast to Any test
2016-05-05 17:24:19 +03:00
Alexey Tsvetkov
cd60a8d207
JS/RTTI: fixed cast to generic type parameter with upper bound different than Any
2016-05-05 17:24:18 +03:00
Alexey Tsvetkov
d42cbde74d
JS/RTTI: (minor) fixed typo
2016-05-05 17:24:17 +03:00
Alexey Tsvetkov
57fbab9f7c
JS/RTTI: (minor) escape code fragments in comments
2016-05-05 17:24:17 +03:00
Alexey Tsvetkov
87659bd95b
JS/RTTI: fix nullability check
2016-05-05 17:24:16 +03:00
Alexey Tsvetkov
7a5b4650ad
JS/RTTI: use Array.isArray to check array instance
2016-05-05 17:24:16 +03:00
Alexey Tsvetkov
ae9a5523e0
JS/RTTI: use typeof f === 'function' to check function instance
2016-05-05 17:24:15 +03:00
Alexey Tsvetkov
7cfe1433c5
JS/RTTI: cast to generic type parameter as to Any
2016-05-05 17:24:15 +03:00
Alexey Tsvetkov
38b0effe15
JS/RTTI: fix cast to Any
2016-05-05 17:24:14 +03:00
Alexey Tsvetkov
2b3ebc7e9f
JS/RTTI: support safe casts
2016-05-05 17:24:13 +03:00
Alexey Tsvetkov
3fd387d4a6
JS/RTTI: support unsafe casts
...
#KT-2670 fixed
2016-05-05 17:24:13 +03:00
Alexey Tsvetkov
1d2da9729e
JS/RTTI: made cast test generated
2016-05-05 17:24:12 +03:00
Alexey Tsvetkov
427b95f821
JS/RTTI: test that reified is-check works when inline turned off
2016-05-05 17:24:12 +03:00
Alexey Tsvetkov
dce0971c52
JS/RTTI: fixed double testing for null for reified
2016-05-05 17:24:11 +03:00
Alexey Tsvetkov
5fdede74a3
JS/RTTI: avoid possible side-effect for is-check on nullable type
...
#KT-7038 fixed
2016-05-05 17:24:10 +03:00
Alexey Tsvetkov
c6cf6a0df7
JS/RTTI: use generation for rtti test
2016-05-05 17:24:10 +03:00
Alexey Tsvetkov
0b9c041d0a
JS/RTTI: fixed is-check on nullable reified parameters
...
#KT-7016 fixed
#KT-8012 fixed
2016-05-05 17:24:09 +03:00
Natalia Ukhorskaya
e1d10abfa1
Debugger: do not use forceResolveScope for codeFragments in completion and AutoImportFix.
...
#KT-12137 Fixed
2016-05-05 06:29:36 +03:00
Valentin Kipyatkov
c45bee5327
KT-12040 "Replace when with if" produce invalid code for first entry which has comment
...
#KT-12040 Fixed
2016-05-04 18:25:26 +03:00
Alexander Udalov
17dacb1efa
Revert "Minor, move SpecialNames.isSafeIdentifier check a little earlier"
...
This reverts commit a3055edda9 .
It turns out, this re-introduces an AssertionError at ClassId.<init> ("Class
name must not be root") when LazyJavaPackageScope#getContributedClassifier is
called during SAM constructor resolution below in
LazyJavaPackageScope#computeNonDeclaredFunctions, which was overlooked at the
time the commit was pushed
2016-05-04 17:41:49 +03:00
Valentin Kipyatkov
16c38a2415
KT-12138 Do not show "::error" in smart completion when any function type accepting one argument is expected
...
(actually made them lowest priority)
#KT-12138 Fixed
2016-05-04 17:28:30 +03:00
Valentin Kipyatkov
81e4114c5a
Minor
2016-05-04 17:28:29 +03:00
Valentin Kipyatkov
941b415981
KT-12150 Smart completion suggests to compare non-nullable with null
...
#KT-12150 Fixed
2016-05-04 17:28:29 +03:00
Valentin Kipyatkov
40900b0050
No explicit runWriteAction required
2016-05-04 17:28:29 +03:00
Valentin Kipyatkov
0769c5453f
KT-12103 Smart completion for nested SAM-adapter produces short unresolved name
...
#KT-12103 Fixed
2016-05-04 17:28:29 +03:00
Mikhael Bogdanov
cd6b709ef5
'bytecodeText' test for synthetic accessor generic signature converted to 'writeSignature' test
2016-05-04 17:07:48 +03:00
Mikhael Bogdanov
ee7bbbf530
Fix for KT-12127: Undeclared type variable on delegated property backing field
...
#KT-12127 Fixed
2016-05-04 17:07:48 +03:00
Valentin Kipyatkov
bac5c4d70b
Fixed test data after commit: https://github.com/JetBrains/kotlin/commit/602de317d68c3a4408829e2f1c7e93f31936399f
2016-05-04 16:26:44 +03:00
Denis Zharkov
c30c695a18
Use cache for custom ClassDescriptors
...
Otherwise new ones are being created for each request, and their member scope is recomputed
2016-05-04 14:58:05 +03:00
Denis Zharkov
594fa02a9c
Optimize memory usage by LockBasedStorageManager inner classes
...
Change all inner classes to be 'static'
Use explicit reference to StorageManager instead of
implicit reference to outer class.
The main problem of inner classes here is that outer instance
is being captured at each inheritance level, so e.g. some lazy value impls
may store up to three duplicating references.
2016-05-04 14:58:05 +03:00
Mikhael Bogdanov
09509b6d18
Update android test dependency to android 4.4.2 cause of missed test result problem on 4.1.2
2016-05-03 09:11:37 +03:00