Alexander Udalov
7fb7dc0210
Fix deprecation warnings related to Project extensions
2020-09-08 20:26:20 +02:00
Alexander Udalov
9e357354fb
Add JVM/JVM_IR mixed compilation tests for compileKotlinAgainstKotlin/boxInline
2020-09-07 19:41:37 +02:00
Alexander Udalov
e324733b01
Tests: accept TargetBackend in KotlinBaseTest.createConfiguration
2020-09-07 19:41:37 +02:00
Dmitriy Novozhilov
d1fd1da56f
Rename Visibility to DescriptorVisibility
2020-09-04 11:07:42 +03:00
Florian Kistner
9775a2148a
203: Fix compilation
2020-09-02 18:48:57 +02:00
Alexander Udalov
b8d16f3d46
Add EnclosingMethod information to bytecode listing tests
2020-09-02 16:46:05 +02:00
Alexander Udalov
d4ecde5cb0
Minor, don't use token COROUTINES_PACKAGE in bytecode listing tests
...
Most of the tests that are run both for 1.2 and 1.3 coroutines have
different expectation .txt files anyway.
2020-09-02 16:46:05 +02:00
Alexander Udalov
6b05e1d179
Add warning to 'kotlinc.bat help' that delimiters need to be escaped
...
Related to KT-41303, KT-41309.
2020-09-02 16:45:40 +02:00
Dmitriy Novozhilov
f14efedc3d
[FIR] Fix broken gradle compilation
2020-09-01 12:00:13 +03:00
Dmitriy Novozhilov
c250912ee0
[FIR-TEST] Use FirAnalyzerFacade in BB and Fir2IrText tests
2020-09-01 12:00:13 +03:00
Dmitriy Novozhilov
6db8c28291
[FIR] Refactor session components initialization
...
From now all customization of session should perform via DSL which
declared in FirSessionFactory. Registration or mutation session
services from other places is prohibited
2020-09-01 12:00:12 +03:00
Dmitriy Novozhilov
a8d23c36f5
[FIR] Introduce module :fir:entrypoint and FirSessionFactory for creating sessions
2020-09-01 12:00:12 +03:00
Dmitriy Novozhilov
ed4c6a38b6
[FIR] Move deserialization files to module :compiler:fir:fir-deserialization
2020-09-01 12:00:10 +03:00
Nikolay Krasko
4b937f0929
Mute stable CompilerDaemonTest.testParallelDaemonStart
...
It was previously muted on TC.
2020-08-27 14:08:48 +03:00
Alexander Udalov
a9ddf02556
Replace deprecated usages of max/min with maxOrNull/minOrNull
2020-08-25 20:33:59 +02:00
vldf
36f2f1fcf7
[FIR] Add lightTree support to extended checkers + minor refactorings
2020-08-25 17:08:57 +03:00
Dmitriy Novozhilov
811a2206a5
Fix usages of KotlinBuiltIns after rebase
2020-08-25 10:41:34 +03:00
Dmitriy Novozhilov
a764732020
Rename KotlinBuiltInsNames to StandardNames
2020-08-25 10:41:33 +03:00
Dmitriy Novozhilov
3a48265077
Move ModuleDescriptor.Capability to :core:descriptors.common module
2020-08-25 10:31:37 +03:00
Dmitriy Novozhilov
7a7fe77b8e
Move static constants with builtin names to :core:descriptors.common module
2020-08-25 10:31:36 +03:00
Dmitriy Novozhilov
2e92fe9be9
[FIR2IR] Add fir2ir component for converting fir visibility to FE 1.0
2020-08-25 10:31:36 +03:00
Dmitriy Novozhilov
41ba9b0a2d
[FIR] Add flag to disable transformers required only for plugins
2020-08-25 10:31:34 +03:00
Alexander Udalov
201fa849b8
Workaround problem with log4j warnings in CLI tests
...
#KTI-166
2020-08-24 13:30:00 +02:00
Dmitriy Novozhilov
f32a0fe7ad
[FIR-TEST] Unify AbstractFirLoadCompiledKotlin and BuiltInsDeserializationForFirTestCase
2020-08-21 15:27:54 +03:00
Alexander Udalov
0ef4b22cf3
Remove deprecated usages of ContainerUtil
2020-08-20 20:30:34 +02:00
Nikolay Krasko
7f91ed6997
Support mute tests in kotlin-gradle-plugin-integration-tests (KTI-234)
...
#KTI-234 Fixed
2020-08-20 16:06:11 +03:00
Yunir Salimzyanov
42da9e62db
Cleanup 192 patchset files (KTI-315)
2020-08-19 19:40:02 +03:00
Alexander Udalov
a21f273570
Fix compiler warnings in compiler code
2020-08-17 21:18:20 +02:00
Mads Ager
7f2efabe6a
[JVM_IR]: Improve stepping for when.
...
Additionally, use the line number of the class for default interface
dispatch methods.
2020-08-07 09:16:01 +02:00
Alexander Udalov
8db1c3611b
IR: introduce abstract class IrDeclarationBase
...
The main purpose of this class is to improve performance of IR visitors
and transformers. `IrElementVisitor.visitDeclaration` now takes
IrDeclarationBase as a parameter, and therefore the call to `accept`
there is now a virtual class call, instead of an interface call.
2020-08-06 17:08:04 +02:00
Florian Kistner
c792092410
Bump fastutil version to match 203
2020-08-05 19:36:42 +02:00
Mikhail Glukhikh
7724d060ff
[FIR] Don't compare SYNTAX diagnostics in light tree diagnostic test
2020-08-02 18:19:47 +03:00
Mikhail Glukhikh
0804c6a0f3
[FIR] Introduce TYPE_ARGUMENTS_NOT_ALLOWED & some other type errors
...
This commit introduces several different things, in particular:
- check type arguments in expressions
- new TypeArgumentList node to deal with diagnostic source
- ConeDiagnostic was moved to fir:cones
- ConeIntermediateDiagnostic to use in inference (?) without reporting
- detailed diagnostics on error type
2020-08-02 18:19:44 +03:00
Ilmir Usmanov
e5995f0c12
Update R8
...
Because old version throws assertion error if parameter's LVT record
does no span the whole function.
2020-07-29 00:01:10 +02: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
vldf
eadd3f00f2
[FIR] Add CanBeReplacedWithOperatorAssignmentChecker
2020-07-28 10:13:28 +03:00
Dmitry Petrov
89a0b3e944
Check class source in bytecode listing tests
2020-07-27 19:13:37 +03:00
Dmitriy Dolovov
3d9093583f
Metadata: 'non-stable parameter names' flag for callables
...
^KT-34602
2020-07-27 23:11:30 +07:00
Dmitry Petrov
0741781462
Compare inner class access flags in bytecode listing tests
2020-07-23 19:13:28 +03:00
Alexander Udalov
d3a34a8898
Psi2Ir: somewhat simplify Psi2IrTranslator API
...
Inline some methods only used once, deduplicate usages, rearrange
parameters, etc.
2020-07-22 22:38:21 +02:00
Yunir Salimzyanov
e5bca3ce29
Enable execution of muted on database tests marked as FLAKY (KTI-288)
...
It became possible to do, because all the muted flaky tests are now
synchronized with TeamCity and muted there too
2020-07-17 14:01:23 +03:00
vladislavf7@gmail.com
ab2128f55d
[FIR] extended checkers infrastructure refactoring
...
Removed strange way to enable Extended Checkers and add new way to do it
2020-07-16 15:11:32 +03:00
vladislavf7@gmail.com
38543ce2a3
[FIR] add way to configure session in Diagnostic Tests
2020-07-16 15:11:32 +03:00
Yunir Salimzyanov
63ba883a77
Refactoring of muteWithDatabase
...
- remove unused function RunNotifier.withMuteFailureListener
- inline some functions (isIgnoredInDatabaseWithLog, etc.)
- change declaration of mutedMessage
- change naming of AutoMute related functions
- extract to separate function isPresentedInDatabaseWithoutFailMarker
2020-07-16 13:16:41 +03:00
Zalim Bashorov
c552933459
[Test infra] Take into account transitive compatible targets while checking compatibility.
2020-07-14 14:14:12 +03:00
vladislavf7@gmail.com
be684c784f
[FIR] Introduce extended checkers for inspection-like diagnostics
2020-07-11 10:45:32 +03:00
Florian Kistner
346df07adc
203: Fix compilation for 203
2020-07-09 15:27:45 +02:00
Florian Kistner
202a55cb39
Bump intellijSdk version for 203
2020-07-09 15:27:45 +02:00
simon.ogorodnik
6bc654ee49
[FIR] Add full compiler pipeline modularized test
...
Fixup: allow kotlin package
2020-07-07 21:47:24 +03:00