Ilya Goncharov
e69ff4363f
[Gradle, JS] Copy mocha-teamcity-reporter with licensies
2019-10-24 15:00:31 +03:00
Ilya Goncharov
1ad8ecabfd
[Gradle, JS] Fully copy of karma-teamcity-reporter (remove npm dependency on it)
2019-10-24 15:00:31 +03:00
Ilya Goncharov
0c911f4359
[Gradle, JS] Fix module.exports for adapter and modulization
...
- semicolon should be before Function expression, because in JS Standard there is no terminated semicolons
- If use output.libraryExport for Webpack, entry files for karma should export something
#KT-34554 fixed
#KT-34555 fixed
2019-10-24 14:58:57 +03:00
Mikhail Glukhikh
5e2b594638
FirBodyResolveTransformerAdapters: optimize imports
2019-10-24 13:04:27 +03:00
Mikhail Glukhikh
e14b63dfe1
FIR Java enhancement: get rid of FirAnnotationCall.resolvedFqName
2019-10-24 13:04:27 +03:00
Mikhail Glukhikh
be6100527b
FIR Java enhancement: fix JVM signature generation for type parameters
2019-10-24 13:04:27 +03:00
Mikhail Glukhikh
47cf7373af
Add extra tests for FIR J/K type mapping
2019-10-24 13:04:26 +03:00
Mikhail Glukhikh
dc657dfda5
FIR Java refactoring: calculate JVM signatures directly by Java types
2019-10-24 13:04:26 +03:00
Vladimir Dolzhenko
6250f1a042
Detects main method with argument Array<String?>
2019-10-24 11:06:13 +02:00
Mikhail Glukhikh
cb3d027463
Fix typo in file name
2019-10-23 20:26:03 +03:00
Mikhail Glukhikh
f63c3aeac9
Extract FirMemberScopeProvider to a separate file
2019-10-23 19:28:42 +03:00
Mikhail Glukhikh
b86f529a8a
Minor: add a pair of TODO about FIR scopes
2019-10-23 19:28:41 +03:00
Mikhail Glukhikh
e28d41aa61
FIR supertype resolve: decrease priority of type parameter scope
2019-10-23 19:28:41 +03:00
Mikhail Glukhikh
634f324f51
FIR supertype resolve: generate error types for type parameters
2019-10-23 19:28:40 +03:00
Mikhail Glukhikh
15a8da5f7b
Rename: Fir...UseSiteScope -> Fir...UseSiteMemberScope
2019-10-23 19:28:40 +03:00
Mikhail Glukhikh
bb60a8f334
Code cleanup: get rid of FirPosition
2019-10-23 19:28:40 +03:00
Mikhail Glukhikh
374c3b4561
Cache FirSelfImportingScope and callables inside
2019-10-23 19:28:39 +03:00
Mikhail Glukhikh
f136813059
Return "lazy" kind of nested classifier scope for special cases
2019-10-23 19:28:39 +03:00
Mikhail Glukhikh
bf75274053
Organize FirClassDeclaredMemberScope & FirNestedClassifierScope in the similar way
2019-10-23 19:28:39 +03:00
Mikhail Glukhikh
17b966daaa
Unify API of FirScope.processClassifiersByName (use ProcessorAction)
2019-10-23 19:28:39 +03:00
Pavel Kirpichenkov
d886d48cf0
Record resolution results for ambiguous callable references
...
#KT-34282 Fixed
2019-10-23 18:52:53 +03:00
Stanislav Erokhin
352a4dc836
Added extension points to the second compiler.xml
...
This is a workaround for KT-34528.
Extension points from 26728711
2019-10-23 18:14:35 +03:00
Igor Yakovlev
2dfe3c568d
Copy refactoring update kotlin packages on target files
...
Fix #KT-18191
2019-10-23 16:44:18 +03:00
Igor Yakovlev
59a6f03a47
Copy refactoring refactoring
2019-10-23 16:44:18 +03:00
Vladimir Dolzhenko
072b67442f
Detects main method with argument Array<String?>
2019-10-23 15:36:31 +02:00
Dmitry Gridin
474645f04f
idea-core: fix compatibility of insertMembersAfter function
2019-10-23 20:10:34 +07:00
Dmitriy Novozhilov
45de26763a
[FIR] Fix import broken in 93a3c232
2019-10-23 15:50:43 +03:00
Dmitriy Novozhilov
93a3c23292
[FIR] Split FirBodyResolveTransformer to separate transformers
2019-10-23 15:21:26 +03:00
Anton Bannykh
a1569dfbf0
JS IR: fix circular dependencies in Gradle tasks
2019-10-23 13:17:29 +03:00
Ilya Goncharov
651dd363e3
[Gradle, JS] Add timeout property
2019-10-23 13:04:41 +03:00
Nikolay Krasko
ebf5e4b590
Mute IncrementalJsKlibCompilerRunnerTestGenerated tests (KT-34538)
...
#KT-34538 Fixed
2019-10-23 12:49:49 +03:00
Nikolay Krasko
e1a5a55972
Refactoring: remove ownImports method
2019-10-23 12:49:49 +03:00
Nikolay Krasko
6d5dc6ea9a
Allow to auto-generate files for asserting failures
2019-10-23 12:49:48 +03:00
Nikolay Krasko
4ed64b0283
Regenerate tests with TargetBackend.ANY remove and using runTest with this
2019-10-23 12:49:48 +03:00
Nikolay Krasko
28abfe6dfa
Avoid generating irrelevant imports in test classes
...
Now methods can request generating additional imports.
2019-10-23 12:49:47 +03:00
Nikolay Krasko
0c5dc507e9
Allow to add additional annotations to generated classes
2019-10-23 12:49:47 +03:00
Nikolay Krasko
b885b848f4
Allow to mute test working with directories
2019-10-23 12:49:47 +03:00
Nikolay Krasko
f3e5b8c67f
Allow to setup additional extension for mute with annotation
2019-10-23 12:49:47 +03:00
Nikolay Krasko
98ac2af402
Use TargetBackend.ANY as default parameter and migrate to more generic runTest method
2019-10-23 12:49:47 +03:00
Nikolay Krasko
3891f9fcaa
Refactoring: extract tests files utilities to separate class
2019-10-23 12:49:47 +03:00
Nikolay Krasko
2c0ce40f75
Refactoring: extract test dummy traces
2019-10-23 12:49:47 +03:00
Nikolay Krasko
fda2022214
Refactoring: extract mutation with file logic to separate file
2019-10-23 12:49:47 +03:00
Nikolay Krasko
a9c84299c6
Allow to auto-mute tests with file
2019-10-23 12:49:46 +03:00
Nikolay Krasko
e4436c80c4
Refactoring: extract mute with file to the separate method
2019-10-23 12:49:38 +03:00
pyos
55acc296a2
JVM_IR: never create temporaries in $default stubs
...
Given the strict pattern-matching in the inliner, this is the only way
to make it not crash when attempting to inline these stubs. Note that
the IR backend does not currently use the inliner's default method stub
handling; the crash only occurs when a module compiled with the non-IR
JVM backend is attempting to call an inline function with default
arguments defined in a module that was compiled with the IR backend.
2019-10-23 11:11:16 +02:00
Alexander Udalov
95be7171bc
JVM IR: fix "null" as the first entry in MappedEnumWhenLowering
...
If "null" was the first entry in an optimizable "when" over enum,
mapRuntimeEnumEntry was called before mapConstEnumEntry, and the
$WhenMappings field was not created. Now both mapConstEnumEntry and
mapRuntimeEnumEntry create this field on the first access
2019-10-23 11:03:22 +02:00
Efeturi Money
35d7bb4a26
Add support for @CompilerOptions annotation for supplying compiler
...
options from scripts.
#KT-34274 fixed
2019-10-23 11:37:28 +03:00
pyos
8c6916af52
JVM_IR inliner fixes: remove code that does nothing
...
other than randomly throw assertion errors on inline calls in synthetic
functions, which have no line number attached.
`lazySourceMapper.callSiteMarker` is set in `InlineCodegen.inlineCall`;
`IrSourceCompilerForInline.doCreateMethodNodeFromSource` does not need
to touch it.
2019-10-22 19:29:42 +03:00
Toshiaki Kameyama
60f4ed914a
"Add parameter to function" quick fix: apply for TYPE_MISMATCH error
...
#KT-8478 Fixed
2019-10-22 21:22:33 +07:00
Pavel Kirpichenkov
636f5da883
[Minor] Inline and drop reduntant isCallableReflectionType property
2019-10-22 14:51:04 +03:00