Dmitriy Novozhilov
80971d7b8b
~~~~ switch 203 ~~~~
2021-07-08 13:29:18 +03:00
Yan Zhulanow
cf65754ea4
Update 203 bunch
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
Nikolay Krasko
32f811e0ec
Build: Cleanup old platforms from the build
2021-06-09 17:43:53 +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
a1ae108ce5
[FIR] Properly generate IDE diagnostics from multiple diagnostics lists
2021-05-21 14:18:58 +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
Victor Petukhov
8f097b14cc
[Jspecify] Move jspecify test runner under the new tests infrastructure
2021-04-30 14:43:26 +03:00
Victor Petukhov
6f9694174f
Move foreign annotation tests into diagnostics folder
2021-04-30 14:43:25 +03:00
Ilya Kirillov
81a7271009
FIR: Decouple AbstractDiagnosticCollectorComponent and AbstractDiagnosticCollector
2021-04-28 17:57:45 +02:00
Dmitriy Novozhilov
9cb740bfdb
Fix tests broken in c6fa3634
2021-04-26 15:11:46 +03:00
Andrey Zinovyev
d459cde010
[lombok] Run compiled code
2021-04-25 18:18:06 +03:00
Alexander Udalov
0c3f2eefe0
Migrate bytecodeListing tests to new test infrastructure
2021-04-23 17:58:16 +02:00
Dmitriy Novozhilov
c3b1be1a39
[FIR] Rename FirDeclaration.session to declarationSiteSession
2021-04-22 14:32:02 +03:00
Dmitriy Novozhilov
c65553bb8a
[FIR] Get rid of source element type parameter from diagnostic factories
2021-04-16 14:08:11 +03:00
Dmitriy Novozhilov
69ff45971f
Suppress HIDDEN diagnostics from FIR to fix FIR bootstrap compilation
2021-04-14 18:30:56 +03:00
Dmitriy Novozhilov
bee2a69e21
Implement new logic of approximation of integer literals in position of receiver
...
#KT-38895 In Progress
2021-04-14 18:30:52 +03:00
Yahor Berdnikau
8b393910d3
Add support for tests mute-in database in JUnit 5.
...
^KT-45744 In Progress
2021-04-13 16:48:07 +03:00
Dmitry Petrov
162363a324
JVM: CHECK_BYTECODE_TEST directive + use it in INVOKEDYNAMIC tests
2021-04-12 16:43:15 +03:00
Abduqodiri Qurbonzoda
19116e5623
Migrate compiler and others from sumBy to sumOf
2021-04-08 03:48:02 +03:00
Abduqodiri Qurbonzoda
40d1849f33
Migrate compiler, idea and others to new case conversion api
2021-04-08 03:22:02 +03:00
Vyacheslav Gerasimov
f2a892a972
Cleanup 201 and as41 bunch files
2021-03-30 14:23:43 +03:00
Ting-Yuan Huang
8e7b561b10
Add AnalysisHandlerExtension extension point for K2JsCompiler
...
AnalysisHandlerExtension allows compiler plugins to:
1. Intercept and override the default analysis.
2. Utilize the compiler infrastructure to do custom analysis.
A well know plugin on the JVM platform is KAPT.
2021-03-29 20:41:05 +03:00