Dmitriy Novozhilov
4f73ebbcbd
[Test] Migrate tests for java 9 to regular test infrastructure
2021-08-01 22:23:39 +03:00
Nikolay Krasko
ca4410aa53
Stop auto-generating expected test data on TeamCity in assertEqualsToFile
2021-07-30 17:46:45 +03:00
Dmitriy Novozhilov
046730c62c
[Test] Integrate AbstractCompileTimeConstantEvaluatorTest to AbstractDiagnosticTest
...
^KT-47898
2021-07-29 15:25:53 +03:00
Nikolay Krasko
ec99585eb9
Remove explicit registration of classFileDecompiler EP and core.xml
2021-07-23 16:58:27 +03:00
Nikolay Krasko
1b3046a61b
Cleanup 202 bunch files
...
Leave 202 in .bunch file to give some time for updating build server
2021-07-23 16:58:26 +03:00
Nikolay Krasko
bba0dfb469
Cleanup as42 bunch files
...
We don't build AS42 plugin from main kotlin repo anymore.
2021-07-23 16:58:24 +03:00
Ilya Chernikov
c9b6847d83
FIR: Add test on delegated member with default param in overridden...
...
sensitive to the file processing order, therefore failing on the
current fir2ir at least with the new irBuiltIns
2021-07-16 02:24:36 +03:00
Ilya Chernikov
dee0487185
IR: Refactor IrBuiltIns to abstract it from descriptors
2021-07-16 02:24:18 +03:00
Mikhael Bogdanov
671ef7dfff
Regenerate tests
2021-07-15 17:08:16 +00:00
Mikhail Glukhikh
40c3c317b2
RawFirBuilder: optimize package name calculation in compiler mode
2021-07-15 12:46:23 +00:00
Georgy Bronnikov
20b76d4149
JVM_IR: reorganize initialization of JvmGeneratorExtensionsImpl
...
CachedFields are now created at initialization.
Therefore we need CompilerConfiguration as a constructor parameter.
2021-07-14 21:20:30 +03:00
Georgy Bronnikov
6b80c00cc6
JVM_IR: deserialize lazy declarations
2021-07-14 21:20:14 +03:00
Mikhail Glukhikh
113d2653aa
Drop deprecated -Xexperimental flag from compiler and tests
2021-07-14 21:18:23 +03:00
Roman Artemev
0326518fc9
[KLIB] Cutting down usages of moduleDescriptor in linker
...
Replace map key `ModuleDescriptor` with `String` which is module name
2021-07-13 14:43:42 +03:00
Dmitriy Novozhilov
22a4da024b
[FIR] Fix all illegal usages of symbol.fir in checkers module
2021-07-13 10:31:34 +03:00
Alexander Udalov
7a42f603f2
JVM IR: rename mangler implementation classes
2021-07-13 01:54:41 +02:00
Alexander Udalov
68432f0c20
Fix deprecation/unchecked warnings after update to 203
2021-07-09 14:24:07 +02:00
Dmitriy Novozhilov
11faf04a4c
[Test] Remove dependencies on IDEA classes from test modules
...
Some of IDEA services (like in `com.intellij/execution`) was copied,
because they are used in tests but jars with them compiled with
jdk 11 and we run our tests on jdk 8, so their bytecode can not
be read
2021-07-08 13:29:19 +03:00
Dmitriy Novozhilov
11dfbd41ac
[Test] Delete obsolete descriptor renderer tests
2021-07-08 13:29:19 +03:00
Dmitriy Novozhilov
80971d7b8b
~~~~ switch 203 ~~~~
2021-07-08 13:29:18 +03:00
Dmitriy Novozhilov
88b7694762
[Test] Remove useless dependencies on IDEA from :compiler:tests-common
2021-07-08 13:29:17 +03:00
Roman Artemev
a8d0e60328
[JS TESTS] Extend test frame with some features
...
- Setting up specific ABI version for module
- Disabling mangle verification
2021-07-01 17:40:40 +03:00
Roman Artemev
b5c28c1912
[KLIB] Introduce compatible mode for klibs.
...
Based on library ABI version linker could decide which signature mode
to be used to guarantee backward compatibility.
2021-07-01 17:40:36 +03:00
Dmitriy Novozhilov
f400477c70
[FIR] Remove generic parameter from FirDeclaration
2021-06-29 21:03:30 +03:00
Dmitriy Novozhilov
1324e9223f
[FIR] Make FirDeclaration an abstract class
2021-06-29 21:03:28 +03:00
Dmitriy Novozhilov
39cd1c8504
[FIR] Squash AbstractFirBasedSymbol with FirBasedSymbol
2021-06-29 21:03:28 +03:00
Mikhael Bogdanov
0fd1f549a9
Properly process special symbols during indy-with-constants concatenation
...
#KT-47320 Fixed
2021-06-26 06:10:16 +02:00
Dmitriy Novozhilov
a288b8b00e
[FIR] Remove useless type parameters from classes related to diagnostics
...
Generics removed from:
- FirPsiSourceElement
- FirDiagnostic
- FirDiagnosticRenderer
- FirDiagnosticFactory
2021-06-21 13:13:17 +03:00
Dmitriy Novozhilov
386f6d9331
[FIR] Safe KClass of PSI type in diagnostic factory
2021-06-21 13:13:17 +03:00
Dmitriy Novozhilov
3d544be655
[FIR] Add ability to specify custom position strategy for specific diagnostic
2021-06-21 13:13:17 +03:00
Ilya Kirillov
75331b3448
FIR IDE: abstract low-level-api from dependency on idea
2021-06-20 22:07:11 +02:00
Roman Artemev
8ac5d03f02
[Test] fix module name in klib text tests
...
It failed on windows machines due to illegal '<' in path
2021-06-16 21:16:58 +03:00
Roman Artemev
2c34888a57
[TEST] Add comment in klib text tests runner
2021-06-16 21:16:56 +03:00
Roman Artemev
e82552975d
[TEST] support test muting in klib text tests runner
2021-06-16 21:16:54 +03:00
Roman Artemev
2eac442705
[IR] Support stable order in IR dump
...
That mode is need to test deserialization of klibs
2021-06-16 21:16:49 +03:00
Roman Artemev
16ea3d9ae9
[TEST] Add IrText klib tests
2021-06-16 21:16:44 +03:00
Dmitry Savvinov
708fead1cc
Add debug strings to frontend scopes-related structures
...
Such as:
- PackageFragmentProviders, and, in particular,
CompositePackageFragmentProviders
- JavaPackageFragments
- Scopes produced by those providers
The rationale is that a lot of frontend-facing bugs (like red code) are
easily recognizeable in resolution. But at that point you just see a
bunch of scopes, without meaningful toStrings, you don't know who has
produced them, and what's exactly wrong.
With this commit it should make debugging slightly easier: now at least
you'll be able to see that "this scope is a scope of package fragment
for foo.bar of module baz" and decide whether the declaration should or
should not have been resolved from such scope.
2021-06-03 17:21:59 +03:00
Dmitriy Novozhilov
6e4cc49f1d
[FIR] Cleanup IC provider creation in FirSessionFactory
2021-05-20 14:21:47 +03:00
Dmitriy Novozhilov
99cdb86145
[FIR] Move createSessionWithDependencies to FirSessionFactory
2021-05-19 16:29:20 +03:00
Dmitry Petrov
851980e36f
JVM_IR KT-45103 optimize direct invoke for lambdas and callable refs
2021-05-18 22:20:12 +03:00
Dmitriy Novozhilov
af307bd55d
[FIR] Fix compilation of AbstractFirBaseDiagnosticsTest
2021-05-14 14:30:38 +03:00
Dmitriy Novozhilov
02c58b7a8f
[FIR] Refactor deserialized dependency providers and session factories with FirModuleData
2021-05-14 14:30:33 +03:00
Dmitriy Novozhilov
5cfa8694d4
[FIR] Fix all usages of declarationSiteSession
2021-05-14 14:30:27 +03:00
Dmitriy Novozhilov
d114913cd2
Replace usages of addToStdlib.firstNotNullResult with firstNotNullOfOrNull
2021-05-14 14:30:19 +03:00
Nikolay Krasko
b41fdd2705
Leave a clue about muted tests with directive for manual processing
2021-05-12 12:57:59 +03:00
Mikhael Bogdanov
f574f89f78
Generate class annotation in AbstractAsmLikeInstructionListingTest
2021-05-10 12:12:20 +03:00
Mikhael Bogdanov
5ff4d648f4
Render generic signature in type parameters tests
2021-05-10 12:12:15 +03:00
Mikhael Bogdanov
6182228de8
Render all annotations in type parameters tests
2021-05-10 12:12:14 +03:00
Victor Petukhov
71755b7a5e
Support java 9 modules in the diagnostic tests both in sources and binaries
2021-04-30 14:43:26 +03:00
Victor Petukhov
6065f0e2d0
[Jspecify] Move diagnostic tests against compiled java under the new tests infrastructure
2021-04-30 14:43:26 +03:00