Valentin Kipyatkov
fa779bbdd2
Fixed KT-4085 Usability problem: Can't import protected nested class
...
#KT-4085 Fixed
2015-01-21 20:10:18 +03:00
Valentin Kipyatkov
974982463c
Visible classes take priority when resolving imports with *
2015-01-21 20:10:18 +03:00
Valentin Kipyatkov
b9d47ffe7a
Changed priority for default imports + default imports include all built-ins explicitly for java module
...
#KT-4374 Fixed
2015-01-21 20:10:18 +03:00
Valentin Kipyatkov
e117e5aa16
It is more correct to resolve default imports this way
2015-01-21 20:10:17 +03:00
Valentin Kipyatkov
7ce3925d71
Removed USELESS_HIDDEN_IMPORT error for it cannot happen anymore
2015-01-21 20:10:17 +03:00
Valentin Kipyatkov
929d6b885d
Current package members to have less priority than explicit imports
2015-01-21 20:10:17 +03:00
Valentin Kipyatkov
59f24020b2
Renames
2015-01-21 20:10:17 +03:00
Valentin Kipyatkov
3caef82184
Big refactoring of imports resolve - preparing to change current package members priority
2015-01-21 20:10:17 +03:00
Valentin Kipyatkov
45a7c3bcdc
No need to inherit from LazyEntity
2015-01-21 20:10:17 +03:00
Valentin Kipyatkov
a9d4fd5213
Moved tests for imports into proper group
2015-01-21 20:10:16 +03:00
Valentin Kipyatkov
2c60201832
Fixed test data (+ renamed test)
2015-01-21 20:10:16 +03:00
Valentin Kipyatkov
2e420fc312
Conflicting imports error for imports of classes and packages
2015-01-21 20:10:16 +03:00
Valentin Kipyatkov
0c74f1679b
Variable renames
2015-01-21 20:10:16 +03:00
Valentin Kipyatkov
b888ea601c
Changed imports semantics: imports order does not affect resolve, explicit imports have higher priority for classes
2015-01-21 20:10:16 +03:00
Valentin Kipyatkov
8fc0063410
Refactoring of Importer - PlatformToKotlinClassMap is the same for all imports
2015-01-21 20:10:16 +03:00
Valentin Kipyatkov
58fb303f8c
Code improvements after conversion
2015-01-21 20:10:15 +03:00
Valentin Kipyatkov
de3a93264c
Converted code to Kotlin - step 2
2015-01-21 20:10:15 +03:00
Valentin Kipyatkov
251d98a602
Converted code to Kotlin (step 1 to keep history)
2015-01-21 20:10:15 +03:00
Valentin Kipyatkov
b625298cd4
Reordered methods
2015-01-21 20:10:15 +03:00
Valentin Kipyatkov
2b215681c9
Code refactoring - no need to filter out classes with Kotlin analogs from inside classes
2015-01-21 20:10:15 +03:00
Svetlana Isakova
9dbcd8b55f
Approximate captured types only when necessary
2015-01-21 15:37:33 +03:00
Dmitry Jemerov
6c814279fc
Merge pull request #550 from JetBrains/kdoc-inherit
...
allow inheriting doc comments from base classes
2015-01-21 13:26:01 +01:00
Natalia Ukhorskaya
72510beb69
Android tests: generate tests only for directories 'box' and 'boxWithStdlib'
2015-01-21 13:58:15 +03:00
Evgeny Gerashchenko
5a77a70710
Merge pull request #551 from JetBrains/delete-operation-mode-provider
...
delete unused OperationModeProvider class
2015-01-20 22:52:33 +04:00
Dmitry Jemerov
431cdd2245
delete unused OperationModeProvider class
2015-01-20 19:51:24 +01:00
Dmitry Jemerov
0c2b230e4a
allow inheriting doc comments from base classes
2015-01-20 19:20:59 +01:00
Alexander Udalov
ae6ffeb88a
Skip inlined lambdas when determining EnclosingMethod
...
#KT-6368 Fixed
2015-01-20 21:02:57 +03:00
Alexander Udalov
20dc3438a2
Fix generation of InnerClasses/EnclosingMethod attributes
...
Generate InnerClasses for each outer class and each direct inner class in all
inheritors of MemberCodegen, i.e. for classes, objects, lambdas, local classes,
etc.
Also skip lambdas which will be inlined when calculating outer class for
EnclosingMethod
#KT-5447 Fixed
#KT-5478 Fixed
2015-01-20 21:02:56 +03:00
Dmitry Jemerov
8217563aac
KDocTokens.START can't be the first token of a tag
2015-01-20 18:08:02 +01:00
Dmitry Jemerov
31f5441f6b
code review
2015-01-20 18:08:01 +01:00
Dmitry Jemerov
100b8c2c4d
Fix tests according to new PSI structure; move doc comment text calculation from JetQuickDocumentationProvider to KDocTag.getContent()
2015-01-20 18:07:18 +01:00
Dmitry Jemerov
c3a496b9a2
introduce the concept of sections
2015-01-20 18:00:17 +01:00
Dmitry Jemerov
f3763bc2b5
some initial PSI for KDoc; changed syntax of links (Markdown style single brackets instead of Wiki style double brackets)
2015-01-20 18:00:09 +01:00
Alexey Sedunov
9278dee1a4
Pseudocode: Bind nondeterministic jump caused by local declaration to declaration iself instead of its parent element
...
#KT-6261 Fixed
#KT-6416 Fixed
2015-01-19 20:58:50 +03:00
Nikolay Krasko
81715d1fca
Don't pass message bus to avoid unnecessary registering
...
#KT-6640 Fixed
2015-01-19 20:26:01 +03:00
Alexander Udalov
baea660a0b
Rewrite hack in codegen for lambdas in anonymous object super calls
...
Synthetic ClassDescriptor created in codegen for lambdas and such should have
correct container, because it'll be used in generation of InnerClasses
2015-01-16 21:48:57 +03:00
Alexander Udalov
c23352d81b
Remove ParentCodegenAware
...
Inline its fields to subclasses, fix parent codegen nullability
2015-01-16 21:47:51 +03:00
Pavel V. Talanov
2d68637fd9
ResolveElementCache: Use softly (not weakly) retained values
...
Fixes performance problems with long running searches analyzing function bodies several times
2015-01-15 19:54:25 +03:00
Denis Zharkov
6f94ebb9d6
Refined redundant null check optimization
2015-01-15 15:13:05 +03:00
Denis Zharkov
5675d2b26b
Dead code elimination
...
#KT-6602 Fixed
#KT-6305 Fixed
#KT-5656 Fixed
2015-01-15 15:13:05 +03:00
Denis Zharkov
aecb925b7b
Refined skipping last goto when inlining try/catch/finally block
2015-01-15 15:13:05 +03:00
Natalia Ukhorskaya
f5aefc96fb
Local variable shouldn't be visible in debugger before initialization
2015-01-15 11:45:15 +03:00
Alexey Tsvetkov
89f8442705
Fixed weird compilation issue by moving function to other package
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
ddcd2e7344
Regenerated injectors
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
c3dde69a7a
Minor in Frontend: Moved NeedSyntheticChecker to jvm frontend
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
17baee740b
Frontend: AdditionalCheckerProvider.Empty->AdditionalCheckerProvider.DefaultProvider
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
491ac7db12
Frontend: JavaDeclarationCheckerProvider->KotlinJvmCheckerProvider
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
21e28fa866
Frontend: use AdditionalCheckerProvider instead of CallResolverExtensionProvider
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
597a191c84
Frontend: extracted InlineCallCheckerWrapper to create InlineCallCheckers during run
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
5e16516d8e
Frontend: CallResolverExtension->CallChecker
2015-01-14 21:49:52 +03:00