Andrey Breslav
3d394cc49b
The code that executes the KotlinToJVM compiler moved to an independent module
...
To be re-used by external build
2012-11-09 21:56:31 +04:00
Andrey Breslav
e9e9ebba9c
Exceptions are reported through message collector
...
This will later allow us to move this code to a separate module, where loggers are not available
2012-11-09 21:56:30 +04:00
Andrey Breslav
4926dd7189
Code that runs the compiler is migrated onto MessageCollector
...
CompilerEnvironment migrated to use io.Files instead of VirtualFiles
This prepares the move of this code to the separate module, to be re-used by external build
2012-11-09 21:56:30 +04:00
Andrey Breslav
2584ba5246
Module script generation moved to a separate module
...
To be re-used by the external build later
2012-11-09 21:56:30 +04:00
Andrey Breslav
32745f1202
cli-common module extracted, to be used by the compiler-runner module
2012-11-09 21:56:29 +04:00
Andrey Breslav
3a96559ce2
TipsManager moved to idea module
2012-11-09 21:56:29 +04:00
Nikolay Krasko
0b33bf5ff6
Merge pull request #140 from crazyproger/KT-1985
...
KT-1985 Creating class body in time of override/implement, if necessary
2012-11-09 08:52:44 -08:00
Nikolay Krasko
aca747390b
KT-2849 Object that are not imported do not show up in completion
...
#KT-2849 Fixed
2012-11-09 14:49:28 +04:00
Nikolay Krasko
cb602496e3
Index for top level objects
2012-11-09 14:49:27 +04:00
Nikolay Krasko
5cf708d056
Don't insert fqn even if current element is resolved into constructor
2012-11-09 14:49:26 +04:00
Nikolay Krasko
dc5402337a
KT-2796 Variable name is not completed in the receiver position of a chained call
...
#KT-2796 Fixed
2012-11-09 14:49:26 +04:00
Nikolay Krasko
91f7a094fe
KT-1931 Duplicate class from Kotlin runtime in completion
...
#KT-1931 Fixed
2012-11-09 14:49:25 +04:00
Nikolay Krasko
8bb6b651b0
Fix bug - search in classDescriptorCache with javaClassToKotlinFqName
2012-11-09 14:49:24 +04:00
Nikolay Krasko
c081ced616
KT-2499 If Java class is imported, it is visible in completion three times: as Java class, Kotlin class and package
...
- Add java trace into delegation for lazy resolve session
#KT-2499 Fixed
2012-11-09 14:49:23 +04:00
Vladimir Rudev
2dd47d6339
KT-1985 Add test case and fix minor bug
...
Reference compacting must be done before adding body to class.
2012-11-08 23:23:49 +04:00
Evgeny Gerashchenko
b88336d663
Added detailed comments for submethods of isTypeErased() and buildDeepSubstitutionMultimap()
2012-11-08 22:02:52 +04:00
Evgeny Gerashchenko
04eefb4244
Extracted methods from isCastErased.
2012-11-08 22:02:52 +04:00
Evgeny Gerashchenko
e691a0bc93
Considering variances when checking for erased casts.
2012-11-08 22:02:52 +04:00
Evgeny Gerashchenko
b3311f717d
Deep substitution now doesn't lose variance info.
2012-11-08 22:02:51 +04:00
Evgeny Gerashchenko
3f18bb6d4b
Minor. Better parameters/variables naming.
2012-11-08 22:02:51 +04:00
Evgeny Gerashchenko
992d84d920
Fixed IsReified diagnostic test. Now it really checks for reified type.
2012-11-08 22:02:51 +04:00
Evgeny Gerashchenko
266313a02e
Replaced List and Collection with mutable analogs.
2012-11-08 22:02:51 +04:00
Evgeny Gerashchenko
3318804030
Rearranged code in isCastErased()
2012-11-08 22:02:50 +04:00
Evgeny Gerashchenko
5b61785306
Minor. Added "final" and private constructor in PositioningStrategies.
2012-11-08 22:02:50 +04:00
Evgeny Gerashchenko
8365cee0b5
Fixed bug in TypeUtils.intersect().
...
For "Foo", "Foo?" it returned "{Foo}" instead of "Foo"
2012-11-08 21:59:17 +04:00
Andrey Breslav
45df349f16
EA-40126 - assert: StandardLibraryReferenceResolver.ensureInitialized
...
Working around the VFS refresh problem
2012-11-08 14:25:50 +04:00
Vladimir Rudev
5f5d375a36
fixed cosmetic issues
2012-11-08 13:20:36 +04:00
Vladimir Rudev
0dabbbeed5
KT-1985 Creating class body on override/implement if necessary
2012-11-07 19:50:41 +04:00
Alexey Sedunov
8cff709bfb
#KT-3023 Fixed
2012-11-07 18:33:21 +04:00
Alexander Udalov
415b6f8efe
Generate bridges for super-calls only when needed
...
#KT-2887 Fixed
2012-11-07 17:06:19 +04:00
Alexander Udalov
89b8bbec57
Do not add extra 'this' parameter for TImpl's accessor
...
Fixes weird cases like super-call from a closure inside a trait with a required
class
2012-11-07 17:06:18 +04:00
Alexander Udalov
2edb89b5c5
Refactor mysterious code in ExpressionCodegen
...
'super' receiver is now generated in visitSuperExpression()
2012-11-07 17:06:17 +04:00
Alexander Udalov
73282c41dc
Remove useless StackValue.valueOf()
2012-11-07 17:06:16 +04:00
Alexander Udalov
a9aef66b15
Remove useless StackValue.upcast()
2012-11-07 17:06:16 +04:00
Alexander Udalov
e89ccf5f1b
A couple toString() methods in backend
2012-11-07 17:06:15 +04:00
Alexander Udalov
cd35a6626e
KT-2963 VerifyError using traits with required classes
...
#KT-2963 Fixed
2012-11-07 17:06:14 +04:00
Natalia.Ukhorskaya
f139b637f3
Automatically cast error for intrinsic methods in array
...
#KT-2997 Fixed
2012-11-07 16:28:46 +04:00
Pavel V. Talanov
e9bf09d240
Rename class: Origin -> DeclarationOrigin
2012-11-07 16:12:57 +04:00
Pavel V. Talanov
a657a19253
Fix TypeConstructor#getSupertypes() return type
2012-11-07 16:12:56 +04:00
Pavel V. Talanov
daf9c6f2c1
Add TODO
2012-11-07 16:12:56 +04:00
Pavel V. Talanov
d1057348da
Refactor JavaNamespaceResolver#createNamespaceData
2012-11-07 16:12:55 +04:00
Pavel V. Talanov
9fbecf515e
Move NamedMembers and MembersCache to provider package
2012-11-07 16:12:54 +04:00
Pavel V. Talanov
940aba04ff
Rename package: data -> provider
2012-11-07 16:12:53 +04:00
Pavel V. Talanov
b3e9a78f45
Rename: NamespaceScopeData -> PackagePsiDeclarationImpl
2012-11-07 16:12:52 +04:00
Pavel V. Talanov
f0b99848ec
Refactor: remove ResolverClassData class
2012-11-07 16:12:51 +04:00
Pavel V. Talanov
51c369db5e
Refactor: group methods for creating *PsiDeclarationProvider
2012-11-07 16:12:50 +04:00
Pavel V. Talanov
791120a2be
Refactor: remove ResolverScopeData class, hack JavaBaseScope to use ClassPsiDeclarationProvider and PackagePsiDeclarationProvider interfaces
...
Compilation errors fixed
2012-11-07 16:12:50 +04:00
Pavel V. Talanov
5405b03f21
Refactor: restructure Resolver*Data class hierarchy
...
Compilation errors still present
2012-11-07 16:12:49 +04:00
Pavel V. Talanov
89c5bef6eb
Refactor: introduce and use PackagePsiDeclarationProvider instead of ResolverNamespaceData
2012-11-07 16:12:48 +04:00
Pavel V. Talanov
adc0e1fce1
Refactor: use ClassPsiDeclarationProvider instead of ResolverClassData
2012-11-07 16:12:47 +04:00