Vladimir Ilmov
75d4c7e91c
Find stdlib usages test case
...
relates to #KT-39196
2020-09-09 17:30:04 +02:00
Ilya Kirillov
87898021a1
FIR IDE: introduce multi module lazy resolve tests
2020-09-02 11:16:17 +03:00
Ilya Kirillov
8714ad575f
FIR IDE: move FIR IDE completion tests to idea-fir module
2020-09-02 11:16:16 +03:00
Dmitriy Novozhilov
bc1b6d3588
Rename :core:descriptors.common to :core:compiler.common
2020-08-25 10:41:34 +03:00
Dmitriy Novozhilov
82a9b1492b
Move RenderingUtils to :core:descriptors.common module
2020-08-25 10:41:32 +03:00
Alexander Udalov
26eb51a9f9
Minor, fix generateBuiltins test
2020-08-21 17:51:23 +02:00
Alexander Udalov
12e900ef3c
Minor, do not capitalize words in generated Gradle options docs
...
To make this output correspond to the actual table at
https://github.com/JetBrains/kotlin-web-site/blob/master/pages/docs/reference/using-gradle.md
2020-08-20 20:30:55 +02:00
Mads Ager
119302b016
[JVM_IR] Run KotlinSteppingTests with the JVM_IR backend.
...
Implement support for supressing failures by backend.
2020-08-20 05:48:54 +02:00
Yunir Salimzyanov
42da9e62db
Cleanup 192 patchset files (KTI-315)
2020-08-19 19:40:02 +03:00
Yunir Salimzyanov
27b2e16141
Cleanup as36 patchset files (KTI-315)
2020-08-19 19:40:00 +03:00
Alexander Udalov
a21f273570
Fix compiler warnings in compiler code
2020-08-17 21:18:20 +02:00
Ilya Kirillov
c8ab0766c9
FIR IDE: Implement symbol restoring for member symbols
2020-08-17 11:37:55 +03:00
Roman Golyshev
ebf20c9706
Add multi-file tests for primitive completion
...
- This is required to test/debug correct completion from imports
2020-08-09 12:02:40 +03:00
Ilya Kirillov
138f11ee27
FIR IDE: introduce member scope tests
2020-08-09 12:00:11 +03:00
Ilya Kirillov
055b975699
FIR IDE: add tests which failing with exceptions inside FIR
2020-08-09 11:59:49 +03:00
Ilya Kirillov
5c6d636d02
Minor: reformat fir ide part of GenerateTests.kt
2020-08-09 11:59:38 +03:00
Alexander Udalov
cce55f1609
IR: add module ir.tree.impl, move main IR implementation there
2020-07-28 19:04:44 +02:00
Alexander Udalov
db4cbe7103
IR: use IrFactory in SymbolTable
2020-07-28 12:05:23 +02:00
Pavel Kirpichenkov
79d7babb57
Add test checking file annotations resolution
...
#KT-37219 Fixed
2020-07-14 17:07:42 +03:00
Andrei Klunnyi
be0cde1d70
KT-32368 Rework Inline hints settings // remove suspending call hints
...
Suspending call hints were removed according to KT-30928 and KT-39271.
2020-07-14 10:03:48 +00:00
Andrei Klunnyi
49d4f55c87
KT-32368 Rework Inline hints settings // special case for lambda hints
...
Lambda hints are placed at the end of a line in such a way that user
can't move the caret behind it. Unfortunately, hint provision
infrastructure doesn't take this detail into account.
As a workaround, KotlinLambdasHintsProvider now returns an empty result
(sink) to the outer infrastructure and accesses editor's inlay model
itself.
2020-07-14 10:03:48 +00:00
Andrei Klunnyi
d1722e3975
KT-32368 Rework Inline hints settings // migrate tests for types
...
KotlinReferencesTypeHintsProvider which in now responsible for
type hints is not compatible with the existing
InlayTypeHintsTest. Because of that tests were migrated to the new
infrastructure.
2020-07-14 10:03:47 +00:00
Andrei Klunnyi
36f3431559
KT-32368 Rework Inline hints settings // migrate tests for suspending calls
...
KotlinSuspendingCallHintsProvider which in now responsible for
suspending call hints is not compatible with the existing
SuspendingCallHintsTest. Because of that tests were migrated to the new
infrastructure.
2020-07-14 10:03:47 +00:00
Andrei Klunnyi
b0dece756a
KT-32368 Rework Inline hints settings // migrate tests for lambdas
...
KotlinLambdasHintsProvider which in now responsible for lambda related
hints is not compatible with the existing LambdaReturnValueHintsTest.
Because of that tests were migrated to the new infrastructure.
2020-07-14 10:03:46 +00:00
Natalia Selezneva
1d45dc8d81
Optimize ScriptTemplatesFromDependenciesProvider
...
No needs to convert file.url to VirtualFile
because index already has getContainingFiles method
Do not iterate through all children of VirtualFile
to avoid VFS events initialisation for those files
there is no guarantee that file is under source root
so is can be not present is vfs at this moment
2020-07-07 23:26:58 +03:00
Toshiaki Kameyama
6b5c31e2fc
Move statement up: do not apply to @file annotation
...
#KT-10790 Fixed
2020-07-06 17:50:39 +02:00
Ilya Kirillov
5cfac8fa3f
FIR IDE: introduce symbol pointers for restoring symbols in another read action
...
fix pointer
2020-07-02 22:25:06 +03:00
Ilya Kirillov
5f548fc459
FIR IDE: add creating stdlib symbols by fqName tests
2020-07-02 22:25:06 +03:00
Ilya Kirillov
c44756bbfd
FIR IDE: add tests for building kt symbols by PSI
2020-07-02 22:25:04 +03:00
Vladimir Dolzhenko
48a9226e1c
Fix copy-paste from KTS files
...
#KT-37517 Fixed
2020-06-30 12:24:31 +00:00
Dmitriy Novozhilov
6a9504f26a
[FIR-TEST] Add coroutines diagnostic tests from old FE to FIR test suite
2020-06-29 12:19:02 +03:00
Ivan Kylchik
895c32e21c
Create separate source set for interpreter map generator
...
A separate source set is needed so that the generator no longer depends
on the generated code
2020-06-25 10:45:19 +03:00
Ivan Kylchik
8044b47984
Create internalName extension method that returns fqName as jvm internal
2020-06-24 16:13:02 +03:00
Ivan Kylchik
f028d6c898
Move interpreter files to separate module
2020-06-24 16:13:01 +03:00
Ivan Kylchik
e4f88e83fe
Get rid of compile time check in generator for ir builtins map
...
These checks are unnecessary because we use all methods from given
classes
2020-06-24 16:13:01 +03:00
Ivan Kylchik
c6240face0
Add test for generation builtins map for interpreter
2020-06-24 16:12:57 +03:00
Ivan Kylchik
9542eb36ec
Support interpretation of String's plus method and its extension version
2020-06-24 16:12:56 +03:00
Ivan Kylchik
530252eea8
Move State.kt in separate package
2020-06-24 16:12:51 +03:00
Ivan Kylchik
900e78b39b
Add hashCode, equals and toString methods from String in builtin map
2020-06-24 16:12:51 +03:00
Ivan Kylchik
2310a04e4e
Add toString, hashCode and equals primitives methods in ir builtin map
2020-06-24 16:12:49 +03:00
Ivan Kylchik
731fb9bc70
Make ir interpreter to work with minimal dependence on ir lowerings
2020-06-24 16:12:48 +03:00
Ivan Kylchik
2985e8bcd3
Clean up code of ir builtins map generator
2020-06-24 16:12:47 +03:00
Ivan Kylchik
cbc9c19faf
Add methods for message and clause from Throwable in ir builtins map
2020-06-24 16:12:46 +03:00
Ivan Kylchik
4345294ac1
Add all methods from Any class in ir builtins map
2020-06-24 16:12:46 +03:00
Ivan Kylchik
5209f4a9c0
Add not null (!!) operator in ir builtins map
2020-06-24 16:12:45 +03:00
Ivan Kylchik
45555d681d
Add methods from arrays classes in ir builtins map
2020-06-24 16:12:44 +03:00
Ivan Kylchik
f99829ce5e
Implement trim function interpretation in compile time
2020-06-24 16:12:43 +03:00
Ivan Kylchik
f6373a647e
Create simple interpreter that evaluate constant values
2020-06-24 16:12:41 +03:00
Ivan Kylchik
a27a07ce81
Create generator for map with builtin operations
2020-06-24 16:12:41 +03:00
Vladimir Dolzhenko
76d819f66d
Drop typo and fix fir package imports in GenerateTests.kt.192
2020-06-10 17:03:05 +02:00