Svetlana Isakova
adcb9e6e8a
moved code for successful / failed candidates separation
...
to ResolutionResultsHandler
2012-11-12 15:32:11 +04:00
Svetlana Isakova
a6f437d363
removed ResolutionStatus.TYPE_INFERENCE_ERROR constant
2012-11-12 15:32:11 +04:00
Natalia.Ukhorskaya
b5a3486131
Back-end: correct indexes of local variables for double and long
...
#KT-3033 Fixed
2012-11-12 15:03:54 +04:00
Natalia.Ukhorskaya
94fbf2bdf4
Add labels for extension properties
...
#KT-2824 Fixed
2012-11-12 13:23:00 +04:00
Andrey Breslav
d4212ecdfc
Ignoring proguard errors from xstream
2012-11-12 13:10:52 +04:00
Andrey Breslav
b4907efd80
Updating to IDEA public preview 122.746
2012-11-12 12:52:27 +04:00
Andrey Breslav
8fc46680d6
Usinf io.File instead of concatenating paths
2012-11-12 11:55:19 +04:00
Andrey Breslav
9619de2060
Module script generator fixed
...
It used to put system-dependent paths into script files, which resulted in syntactically incorrect string literals on Windows:
sources += "C:\foo.kt" // \f is wrong here
Solution: convert paths to system-independent form (forward slashes)
2012-11-12 11:54:45 +04:00
Andrey Breslav
d6c8b8683b
Failed test toutput improved
2012-11-12 11:52:59 +04:00
Andrey Breslav
57120e6d5c
Migrating script generation onto java.io.File
2012-11-09 21:56:32 +04:00
Andrey Breslav
0b6b8873b9
Module names in exception messages
2012-11-09 21:56:32 +04:00
Andrey Breslav
8920920686
Helper method
2012-11-09 21:56:32 +04:00
Andrey Breslav
c01587a0b1
Common functionality factored out of OutputItemsCollectorImpl
...
To be re-used by external build
2012-11-09 21:56:31 +04:00
Andrey Breslav
e2d504c78e
Report raw paths, not URLs, convert when needed
2012-11-09 21:56:31 +04:00
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