Vladimir Ilmov
09d2bd33f8
[coroutine][debug] incorrect merge conflicting with 00a06ef9b9
2019-11-20 12:36:13 +03:00
Mikhail Glukhikh
137e54db05
FIR Java (raw type bounds erasure): make better protection from recursion
2019-11-19 23:22:36 +03:00
Mikhail Glukhikh
95203e9310
FIR: unmute passing black-box tests (nested constructor resolve)
2019-11-19 23:02:35 +03:00
Mikhail Glukhikh
fa739f1aae
FIR: optimize classifier scope: don't search for nonexistent symbols
2019-11-19 22:41:19 +03:00
Mikhail Glukhikh
d39a36ee25
FIR declared member scope: remove constructors from callable index
...
This removes constructor resolve ambiguity in some cases.
Now constructors are resolved only via classifiers
2019-11-19 22:41:17 +03:00
Mikhail Glukhikh
bd71d1dc3f
FIR resolve: use lazy nested classifier scopes for Java classes
...
It's necessary because JavaSymbolProvider adds nested classifiers lazily.
Commit slows things down due to relatively slow search in symbol providers
2019-11-19 22:40:22 +03:00
Dmitriy Novozhilov
cc891c46b1
Mute failing fir blackbox test
2019-11-19 21:09:29 +03:00
Mads Ager
15ed342282
JVM_IR: Generate args check in existing methods for special bridge methods.
...
Fix the number of arguments checked (1 for getOrDefault and 2 for
remove).
2019-11-19 19:10:04 +03:00
Alexander Gorshenev
369d9bfdab
Dropped index from DeserializedSourceFile as it is no longer needed
2019-11-19 18:19:46 +03:00
Alexander Gorshenev
e7ef453d22
Got rid of klib file registry
2019-11-19 18:19:46 +03:00
Simon Ogorodnik
f49bc0e96d
[FIR] Improve keyword colors (light-theme) in html dump
2019-11-19 16:50:46 +03:00
Simon Ogorodnik
36979e7937
[FIR] Support ConeDefinitelyNotNullType in html dump
2019-11-19 16:50:44 +03:00
Simon Ogorodnik
9249d1b727
[FIR] Support diagnostics in Html dump
2019-11-19 16:50:43 +03:00
Simon Ogorodnik
6e8f8f9a65
[FIR] Partially support raw types
2019-11-19 16:50:40 +03:00
Georgy Bronnikov
119a3f1306
JVM_IR: do not generate accessors to lateinit private properties
2019-11-19 16:30:04 +03:00
victor.petukhov
be0516348b
IDE formatting: add indention for new line in parameters list when there is a trailing comma
2019-11-19 16:08:42 +03:00
Ilya Goncharov
d246d12093
[Gradle, JS] Add intregration test on browser pipeline with transitive dependencies
2019-11-19 14:02:47 +03:00
Ilya Goncharov
c87961dcad
[Gradle, JS] Dce should work with runtime classpath
...
#KT-34946 fixed
2019-11-19 14:02:45 +03:00
Ilya Goncharov
c2b53dfce7
[Gradle, JS] Add debugger; only for debug mode
2019-11-19 13:52:37 +03:00
Ilya Goncharov
4d3698313d
[Debugger, JS] Configure timeouts for debugging
2019-11-19 13:52:37 +03:00
Ilya Goncharov
79ef361e1a
[Debugger, JS] Remove Mocha configuring in KotlinKarma
2019-11-19 13:52:37 +03:00
Ilya Goncharov
15a606c2b6
[Debugger, JS] Rename karma-debug on karma-debug-runner
2019-11-19 13:52:37 +03:00
Ilya Goncharov
5f8a5d5fca
[Debugger, JS] Extract Debug's configurations
2019-11-19 13:52:37 +03:00
Ilya Goncharov
d57127ed08
[Debugger, JS] Fix for mocha timeout
2019-11-19 13:52:36 +03:00
Ilya Goncharov
d7c2d098af
[Debugger, JS] Add configuring debuggable browser
2019-11-19 13:52:36 +03:00
Ilya Goncharov
550cc9d775
[Gradle, JS] Add karma debugger by timeout
2019-11-19 13:52:36 +03:00
Ilya Goncharov
821a4ea472
[Debugger, JS] Use default js debug configuration with Karma
2019-11-19 13:52:36 +03:00
Mikhail Glukhikh
3d00212e34
FIR Java: add minor comment (type parameter types)
2019-11-19 13:13:24 +03:00
Mikhail Glukhikh
f60842efe1
FIR resolve: add test with Java static class constructor access from Kotlin
...
This test does not work because nested classifier scope works incorrectly for Java
2019-11-19 13:08:54 +03:00
Mikhail Glukhikh
19aff81b55
FIR tower resolve: make static members accessible from derived classes
2019-11-19 13:07:53 +03:00
Mikhail Glukhikh
7dea06d2a7
FIR tower resolve: make companion members accessible from derived classes
2019-11-19 13:07:52 +03:00
Mikhail Glukhikh
802ed9b502
FIR: implement protected visibility checker #KT-34788 Fixed
2019-11-19 13:07:52 +03:00
Mikhail Glukhikh
ad3659d1d9
FIR deserializer: add forgotten type parameter bounds for FunctionX
2019-11-19 13:07:51 +03:00
Mikhail Glukhikh
1e548e3f21
FIR substitution: use intersection of bounds for * projection
2019-11-19 13:07:46 +03:00
Dmitriy Novozhilov
43a8c1282f
[FIR] Add toString() call to expressions in string templates
2019-11-19 13:04:49 +03:00
Dmitriy Novozhilov
8d9d6fd181
[TEST] Regenerate FirBlackBoxCodegenTest
2019-11-19 13:04:49 +03:00
Vladimir Ilmov
022a31398a
[coroutine][debug] creation stack trace jump to line fixed
2019-11-19 12:29:54 +03:00
Vladimir Ilmov
25222b55e6
[coroutine][debug] AsyncStackTraceProvider refactored
2019-11-19 12:29:54 +03:00
Vladimir Ilmov
310b3611ef
coroutine extention refactored to minimize brunch-related logic
2019-11-19 12:29:54 +03:00
Vladimir Ilmov
c90cd8c490
[coroutine][debug] compilation error fixed
2019-11-19 12:29:53 +03:00
Aleksandr Prokopyev
3ca5d2d64f
Debugger: Add 193 bunch for coroutines debugger
2019-11-19 12:29:53 +03:00
Aleksandr Prokopyev
1dc44b4000
Debugger: Tests refactor
2019-11-19 12:29:53 +03:00
Aleksandr Prokopyev
12313fa5aa
Debugger: Fix for coroutine debugger after review
2019-11-19 12:29:52 +03:00
Aleksandr Prokopyev
5975251a32
Debugger: Coroutines stack frames with variables & coroutine dumps
2019-11-19 12:29:06 +03:00
Roman Artemev
c459b2ca6e
[JS IR] Fix state machine control flow
...
- exception loop unwinding: make sure exception state is reset after try block is finished
- break/continue of suspended loops
2019-11-19 11:15:36 +03:00
Roman Artemev
18d0b477b6
[JS IR] Fix arrayOfNulls API
2019-11-19 11:15:36 +03:00
Roman Artemev
f2093a1763
[JS IR] Fix boxing/unboxing of inline classes in coroutine scope
...
- don't box/unbox when value is known to be an inline class
- add unbox state when coroutine resumed
- correctly handle suspension in case of inline class
- add tests
2019-11-19 11:15:35 +03:00
Roman Artemev
52b24ead91
[IR] Add REINTERPRET_CAST operator in IrTypeOperatorCall
...
- fix BE
- fix Serializer
- implement builder
- make Ir a bit more type-correct
- support developer mode (lowering [dynamic]implicit cast meterialized as general cast)
- fix autoboxing lowering
2019-11-19 11:15:35 +03:00
Roman Artemev
3795897fb7
[JS IR] Add developer mode in configuration
2019-11-19 11:15:35 +03:00
Roman Artemev
a2703b1534
[IR] Unlink isLocal and isAnonymousObject from Descriptors API
2019-11-19 11:15:35 +03:00