Nikolay Krasko
4e190248cd
Add resetApplicationToNull utility with old application
2017-08-10 15:43:54 +03:00
Mikhael Bogdanov
3fd6dd3572
Add test for quoted class name
2017-08-10 12:10:25 +02:00
Dmitry Jemerov
022430cb59
Set correct library kind for transitive dependencies
2017-08-10 11:43:35 +02:00
Mikhail Zarechenskiy
974dad571c
[NI] Report errors about inapplicable wrong receiver
...
Now it's possible because we don't commit trace with inapplicable `provideDelegate` operator (20e105c274 )
2017-08-09 17:37:44 +03:00
Vyacheslav Gerasimov
2ac7b6a534
UAST: Fix DeclarationDescriptor.toSource return first found source element
...
instead of null, when multiple descriptors found
#KT-18837 Fixed
2017-08-09 15:34:41 +03:00
Vyacheslav Gerasimov
915f47133b
UAST: Fix KotlinUMethod annotation handling, properly handle use site targets
...
#KT-16834 Fixed
#KT-18893 Fixed
2017-08-09 15:34:34 +03:00
Vyacheslav Gerasimov
f24488915a
UAST: Log error when failed to create light class for UObjectLiteralExpression
2017-08-09 15:34:27 +03:00
Vyacheslav Gerasimov
adfc481c7a
Add ProjectImportProvider for *.gradle.kts file to import it as module
...
#KT-19466 Fixed
2017-08-09 15:34:19 +03:00
Vyacheslav Gerasimov
4405021f85
Add ProjectOpenProcessor for *.gradle.kts file to open it as project
...
#KT-19024 Fixed
2017-08-09 15:34:11 +03:00
Dmitry Jemerov
73a4da6c56
Cache list of dependent modules in modification tracker
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
a7bbf3d1f8
Don't increase OOCB count when a REPL line is modified
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
3415853cac
Add ModuleDescriptor.assertValid() for ensuring consistency
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
ac96c31a7d
Retrieve module descriptors for implementing modules on demand
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
0b45d25bb1
Fix compilation after rebase
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
bdbe134b60
Recreate module descriptors for affected modules only on a change
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
07794c8188
On-demand creation of ModuleDescriptors
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
dde1f4b8f3
Fix OOCB updates for code fragments
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
36cabf1bfc
Move entire logic for ModuleDescriptor setup into ResolverForProjectImpl
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
d6a9a49968
Disable tracking of Kotlin files by Java OOCB listener
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
aafe7e6f1b
Refactoring: move createResolverForModule() into ResolverForProjectImpl
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
fcc067435e
Refactoring: streamline module resolver setup code
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
194deccd09
Remove one level of indirection from ModuleResolverProvider creation
2017-08-09 13:26:09 +02:00
Dmitry Jemerov
3debca09ea
Remove callback hell from LazyModuleDependencies
2017-08-09 13:26:09 +02:00
Mikhail Zarechenskiy
cfbc559a97
[NI] Propagate tracking binding trace into context
2017-08-09 14:01:04 +03:00
Mikhail Zarechenskiy
4a74ca568c
[NI] Don't forget to deparenthesize expression before type checking
2017-08-09 14:01:00 +03:00
Mikhail Zarechenskiy
053b02e0df
[NI] Fold { Lower | Upper } & Equality constraints if it's possible
2017-08-09 14:00:53 +03:00
Mikhail Zarechenskiy
20e105c274
Don't commit trace with inapplicable provideDelegate operator
...
This helps in NI as there we have different logic for delegates inference
2017-08-09 13:50:50 +03:00
Mikhael Bogdanov
82c3637d91
Wide visibility in ir common stuff
2017-08-09 12:07:38 +02:00
Mikhail Zarechenskiy
46d0ea3eed
Use operation reference as lookup element to preserve old behaviour
...
See related changes in fb72726f08
2017-08-09 00:59:12 +03:00
Alexey Sedunov
cf3615d279
Kotlin Facet: Fix element ordering in compiler arguments XML
...
Do not rely on method list as it's ordered differently
2017-08-09 00:03:28 +03:00
Valentin Kipyatkov
e52c3b4c81
Rewritten KDoc-link resolve and completion to work more reasonably
2017-08-08 22:06:04 +03:00
Valentin Kipyatkov
998814b1a1
Support for import aliases in both resolve and completion in KDoc
2017-08-08 22:06:04 +03:00
Valentin Kipyatkov
9361cd895c
Support for import aliases in code completion
...
#KT-8848 Fixed
2017-08-08 22:06:04 +03:00
Mikhail Zarechenskiy
48246e5f34
[NI] Add resolution part to check for abstract super call
2017-08-08 15:44:31 +03:00
Mikhail Zarechenskiy
b6e195128c
[NI] Resolution diagnostics don't produce errors as is
2017-08-08 15:44:30 +03:00
Mikhail Zarechenskiy
5486f4e612
[NI] Don't report NI error for recorded info about smartcasts
2017-08-08 15:44:28 +03:00
Mikhail Zarechenskiy
64b722d4f6
Minor, reduce nesting
2017-08-08 15:44:20 +03:00
Nikolay Krasko
9c37d0a007
Disable building dependencies caches in configure GSK tests
2017-08-08 15:26:16 +03:00
Nikolay Krasko
60e330b6f3
Update configure tests after binding comments and spaces to script body
2017-08-08 15:26:16 +03:00
Denis Zharkov
ff0736f09e
Fix exception after combination of while (true) + stack-spilling
...
FixStack transformation divides on phases:
- Fixing stack before break/continue
- Fixing stack for inline markers/try-catch blocks
After the first stage all ALWAYS_TRUE markers are replaced
with simple GOTO's and if we're skipping break/continue edges
we won't reach the code after while (true) statement.
At the same time it's fine to not to skip them in the second phase
as the stack for them is already corrected in the first phase
#KT-19475 Fixed
2017-08-08 18:52:21 +07:00
Denis Zharkov
45d5f6a950
Add test for obsolete issue
...
#KT-19467 Obsolete
2017-08-08 18:52:21 +07:00
Mikhael Bogdanov
3ae084b1b3
Get rid of reification from 'deepCopyWithVariables'
2017-08-08 13:33:20 +02:00
Mikhael Bogdanov
49612063dc
Wide visibility in ir common stuff
2017-08-08 13:25:49 +02:00
Mikhael Bogdanov
07c5702861
Add missed 'version' in core modules facets
2017-08-08 13:09:48 +02:00
Mikhael Bogdanov
6e4b02a94b
Disable 'areEqualByValue'
2017-08-08 13:09:48 +02:00
Mikhael Bogdanov
6305abdf9f
Wide visibility in ir common stuff
2017-08-08 13:09:47 +02:00
Valentin Kipyatkov
ca418c727e
KT-19278 Optimize imports on the fly should not remove incomplete import while it's being typed
...
#KT-19278 Fixed
2017-08-08 12:27:16 +03:00
Valentin Kipyatkov
8a17e6c1c9
WIP
2017-08-08 12:27:15 +03:00
Valentin Kipyatkov
e53b1a1e92
KT-19277 Optimize imports on the fly should not work in test data files
...
#KT-19277 Fixed
2017-08-08 12:27:15 +03:00
Mikhail Glukhikh
5904b7f257
Remove ModalityState.any() from J2kPostProcessor #KT-19453 Fixed
2017-08-08 11:33:32 +03:00