Mikhail Glukhikh
2f63c8a46a
[FIR] Enhance diagnostic DSL to be able to use concrete factories
...
Before this commit, things like DiagnosticFactory0<KtDeclaration>
were effectively unusable.
2020-03-27 16:46:58 +03:00
Dmitriy Novozhilov
a1d81aa15f
[FIR-TEST] Fix diff between FIR and old FE testdata
2020-03-27 16:39:02 +03:00
Georgy Bronnikov
b0d96eb140
Revert "Workaround for KT-37302"
...
This reverts commit ae208f58a4 .
Issue fixed, workaround no longer needed.
2020-03-27 14:19:45 +03:00
Dmitry Savvinov
cd440841a5
Fix regex in KotlinPluginCompatibilityVerifier to support release and milestones
2020-03-27 13:30:36 +03:00
Dmitry Savvinov
dfaebf3cdb
Minor: make KotlinPluginVersion public
2020-03-27 13:30:36 +03:00
FenstonSingel
b7d8e879a6
[FIR] Support 4 diagnostics for pairs of modifiers
...
In particular, this commit includes:
* Attempt to abstract access to FirSourceElement via FirModifier
* Add more visit functions to DeclarationCheckersDiagnosticComponent
* Add messages+factories for 4 modifier-related errors and warnings
* Introduce FirModifierChecker
2020-03-27 12:34:29 +03:00
Yaroslav Chernyshev
311a91af79
Fix: forgot to write services for 191
2020-03-27 11:54:10 +03:00
Vladimir Dolzhenko
674f1d129f
Clean up of plugin-common.xml and convert components to services
2020-03-27 07:54:14 +00:00
Roman Artemev
87006036be
[IR] Forbid unbound type parameters
2020-03-27 10:52:33 +03:00
Roman Artemev
6e01ec8dd3
[IR] Fix translation of synthetic generic java properties
...
- Compute substituted accessor descriptor to avoid unbound type parameters
2020-03-27 10:52:33 +03:00
Roman Artemev
4bebfd33b9
[IR] Fix unbound type parameter symbol for jvm corner cases
2020-03-27 10:52:33 +03:00
Dmitriy Novozhilov
48fb279721
[FIR] Add constraint to flexible type for declared argument for java parameter
2020-03-27 10:17:12 +03:00
Dmitriy Novozhilov
3acb64c536
[FIR] Add flexible default upper bound for java type parameters
2020-03-27 10:17:12 +03:00
Dmitriy Dolovov
c23a11a6fc
Refactoring: Clean-up usage of KlibMetadataFactories
2020-03-27 13:12:01 +07:00
Dmitriy Dolovov
36988cf15c
Refactoring: Keep predefined K/N targets inside of KonanTarget.Companion
2020-03-27 13:11:46 +07:00
Dmitriy Dolovov
7a19558d54
Refactoring: Put KonanTarget & related classes into separate .kt files
2020-03-27 13:11:35 +07:00
Dmitriy Dolovov
2aa8601f93
Minor. Comments added
2020-03-27 13:11:24 +07:00
Dmitriy Dolovov
bd9fdb18da
Minor. Remove unused code
2020-03-27 13:11:12 +07:00
Anton Yalyshev
035755826a
Update version of New project Wizards FUS reporter
2020-03-26 23:50:39 +03:00
Anton Yalyshev
23eb612954
Fix: forgot to call FUS logger in this collector
2020-03-26 23:50:01 +03:00
Anton Yalyshev
e863d81f30
Improve wizards names composition for FUS reporter
2020-03-26 23:50:01 +03:00
Anton Yalyshev
47bb73d90b
Change FUS data format for New Project Wizards collector
2020-03-26 23:50:01 +03:00
Ilya Gorbunov
e8dff3609b
Add @ExperimentalUnsignedTypes to unsigned array snapshot extensions
2020-03-26 23:30:19 +03:00
Roman Golyshev
f656cd2889
KT-37781 Add FUN_KEYWORD to MODIFIERS_ORDER
...
- This way it is inserted before visibility modifiers
- ^KT-37781 Fixed
2020-03-26 19:37:10 +03:00
Pavel Kirpichenkov
e39b69839b
[NI] Make constraint check for type variables with complex dependency
...
Additional check for trivial constraints is needed to make lambda
analysis before outer variable fixation to Nothing(?)
^KT-37627 Fixed
2020-03-26 17:06:37 +03:00
Pavel Kirpichenkov
568b21e31c
minor: refactor cast into context operation
2020-03-26 17:06:37 +03:00
Ilya Goncharov
5657afc35b
[Gradle, JS] Add tolerance for NodeJsExec inputFileProperty
...
- no error if it is not present
2020-03-26 16:45:54 +03:00
Ilya Goncharov
a83f2faf9f
[Gradle, JS] Contains to in
...
#KT-37207 fixed
2020-03-26 16:44:44 +03:00
Ilya Goncharov
201d140912
[Gradle, JS] Use when instead of pipeline of changes
...
#KT-37207 fixed
2020-03-26 16:44:34 +03:00
Ilya Goncharov
14af869a87
[Gradle, JS] Extract YarnEntryRegistry to upper level
...
- Remove copypaste with version prefixes
#KT-37207 fixed
2020-03-26 16:44:14 +03:00
Ilya Goncharov
e8df15ac27
[Gradle, JS] Support file npm dependencies
...
#KT-37207 fixed
2020-03-26 16:43:55 +03:00
Pavel Punegov
ad20deb0b3
Ignore Java-sepcific test in Native
2020-03-26 13:26:17 +03:00
Nicolay Mitropolsky
2eb6f1988d
Uast: process catch parameters and finally blocks (KT-35804)
2020-03-26 12:55:45 +03:00
Nicolay Mitropolsky
f1d5570ca1
Uast: include parameters of reified methods to uast tree (KT-37613)
2020-03-26 12:55:44 +03:00
Mark Punzalan
4234fa79c0
[JVM IR] Use append(Char) for 1-length string literals in string
...
templates and plus concatenations.
This is slightly more efficient and mirrors the behavior of the non-IR
backend for templates (but not for plus concatenations).
#KT-36638 Fixed
2020-03-26 12:39:39 +03:00
Igor Yakovlev
bd9877cc62
Rename testdata from DestructuringDeclarations to DestructionDeclarations
2020-03-26 12:35:49 +03:00
Igor Yakovlev
3bf1fe7a9d
Reword Destructuring declarations to Destruction declarations in UI
...
Fixed #KT-37487
2020-03-26 12:35:48 +03:00
Dmitry Petrov
9a95941ef3
JVM_IR: Rewrite '?.' and '?:' chains
...
This shortens code and avoids unnecessary boxing in some cases.
2020-03-26 12:19:25 +03:00
Vladimir Ilmov
1d305d56b9
(CoroutineDebugger) DebuggerListener service added to 192/as36
2020-03-26 09:53:16 +01:00
Ilya Kirillov
f9377196f8
Wizard: fix 191 test compilation
2020-03-26 11:47:45 +03:00
Mikhail Glukhikh
547bb64b18
Fix BB test auto-generation (ignore backend FIR)
2020-03-26 10:31:14 +03:00
Juan Chen
aba7706dec
[FIR] fix test module set up (this fixes 193 BB tests)
...
Added creation and initialization of the test module and its dependencies.
When looking at the emptyProgression test,
I found that getProgressionLastElement was not found,
which should be resolved from the dependencies.
2020-03-26 10:30:47 +03:00
Ilya Kirillov
eb958100ac
Wizard: do not show validation error on parent module
2020-03-26 10:08:55 +03:00
Ilya Kirillov
393af3669f
Wizard: do not suggest NativeConsoleApplicationTemplate to non-desktop targets
2020-03-26 09:53:32 +03:00
Ilya Kirillov
d58d3d06f5
Wizard: add better exception message when template not found
2020-03-26 09:39:20 +03:00
Ilya Kirillov
9fc1220b99
Wizard: move core module UI texts to bundles
2020-03-26 09:39:19 +03:00
Ilya Kirillov
80bae578bf
Wizard: move UI texts to bundles
2020-03-26 09:39:17 +03:00
Ilya Kirillov
927ccf2ab1
Wizard: fix 192 tests
2020-03-26 09:39:17 +03:00
Ilya Kirillov
f767fd50e8
Wizard: add scroll bar to the project templates list
2020-03-26 09:39:16 +03:00
Ilya Kirillov
1504e607f9
Wizard: remove unneeded project templates & rearrange others
2020-03-26 09:39:15 +03:00