Evgeny Gerashchenko
d28c9e0eef
Added 'synchronized' to avoid race condition in smoke test.
2012-10-30 20:12:31 +04:00
Evgeny Gerashchenko
abdc99e1d7
Removed doTest(char), since it was erroneous.
...
If lookupString and tailText are both null, completionChar is ignored.
2012-10-30 18:41:01 +04:00
Evgeny Gerashchenko
5c88e40772
KT-2859 Inconsistency before reparse upon completing by Tab key
...
#KT-2859 fixed
2012-10-30 18:41:01 +04:00
Evgeny Gerashchenko
728a683ae3
Simplified and clarified JavaClassResolver.javaClassToKotlinFqName
2012-10-30 18:41:01 +04:00
Evgeny Gerashchenko
01311a1793
Moved and renamed DescriptorUtils.getInnerClasses
2012-10-30 18:41:01 +04:00
Evgeny Gerashchenko
c84cd7f961
Renamed ClassObject$ to object in JVM backend.
2012-10-30 18:41:00 +04:00
Evgeny Gerashchenko
58b904adb9
Regenerated lazy resolve test.
2012-10-30 18:41:00 +04:00
Evgeny Gerashchenko
78d62fa0c0
Supported loading named objects within class objects from compiled library.
2012-10-30 18:41:00 +04:00
Evgeny Gerashchenko
a71fa35187
Supported loading named objects within named objects from compiled library.
2012-10-30 18:41:00 +04:00
Alexander Udalov
3ca976ee77
Generate bridges for delegates
2012-10-30 16:48:02 +04:00
Alexander Udalov
dc5174670d
Minor, kill useless param
2012-10-30 16:48:00 +04:00
Alexander Udalov
8a0c057bd0
Remove OwnerKind.DelegateKind
...
It's not used anywhere anymore.
Add another assertion to checkMustGenerateCode()
2012-10-30 16:47:58 +04:00
Alexander Udalov
fcbb5fe191
DelegateKind is not needed when generating delegates
...
"this.context" is correct and more useful
2012-10-30 16:47:56 +04:00
Alexander Udalov
c3854e9bd4
Minor refactoring in delegate codegen
2012-10-30 16:47:54 +04:00
Alexander Udalov
142acba6f1
Remove unused method
2012-10-30 16:47:52 +04:00
Alexander Udalov
288e3a7b40
Cast arguments to proper types when generating delegates
...
Also minor refactoring in a couple places to adopt this style
2012-10-30 16:47:50 +04:00
Alexander Udalov
4cfe68da1e
Coerce any type to Number before unboxing
2012-10-30 16:47:46 +04:00
goodwinnk
627c3cf42e
Fix build - fix id for attaching kotlin sorter
2012-10-30 14:58:14 +04:00
Dmitry Jemerov
130cbff966
Merge pull request #132 from codecop/master
...
Contribution from Hackergarten Vienna: fixed KT-2892 'No such field error' when invoking private property without backing field
#KT-2892 Fixed
2012-10-29 14:26:47 -07:00
Peter Kofler
28160ecb11
fix KT-2892
2012-10-29 22:16:43 +01:00
Peter Brachwitz
81de3cd46a
Fix compilation of infix calls (KT-2929)
...
#KT-2929 Fixed
2012-10-29 22:01:56 +01:00
Evgeny Gerashchenko
c4bda6a260
KT-3000 "Specify Type Explicitly" action works wrong for Enum
...
#KT-3000 fixed
2012-10-29 21:51:02 +04:00
Evgeny Gerashchenko
4e05bee22a
Fixed case for intention actions texts.
2012-10-29 21:51:02 +04:00
Evgeny Gerashchenko
1ad2fdac0b
Added annotations from new IDEA.
2012-10-29 21:51:02 +04:00
Evgeny Gerashchenko
4a7a31d830
Updated IDEA to 122.639.
2012-10-29 21:51:02 +04:00
Svetlana Isakova
af3690309b
recordAutoCastIfNecessary method moved
...
to AutoCastUtils
2012-10-29 17:11:58 +04:00
Svetlana Isakova
f90f72a6ec
added CandidateResolver
...
(that took some methods from CallResolver)
2012-10-29 17:11:58 +04:00
Svetlana Isakova
fc705edb65
added ResolutionResultsHandler
2012-10-29 17:11:58 +04:00
Svetlana Isakova
d45db0a331
created subpackage 'util'
2012-10-29 17:11:58 +04:00
Svetlana Isakova
4e59a87a2d
ResolutionStatus, ResolutionDebugInfo moved to subpackage 'results'
2012-10-29 17:11:58 +04:00
Svetlana Isakova
dd8e62a8f6
created subpackage 'tasks'
2012-10-29 17:11:57 +04:00
Svetlana Isakova
c7d6bf1b35
OverloadResolutionResults moved to 'results' subpackage
2012-10-29 17:11:57 +04:00
Svetlana Isakova
152368eb04
ResolvedCall, ResolvedValueArgument moved to 'model' subpackage
2012-10-29 17:11:57 +04:00
Svetlana Isakova
1952307392
removed unused autoCasts map from ResolvedCallImpl
2012-10-29 17:11:57 +04:00
Svetlana Isakova
ecaad04b71
ResolvedCallImpl.copy moved to Util
2012-10-29 17:11:56 +04:00
Svetlana Isakova
06cee8bc16
AutoCastReceiver moved to autocasts package
2012-10-29 17:11:56 +04:00
Svetlana Isakova
16ddd6db11
rename 'add subtype/supertype constraint' methods:
...
supertype constraint means constraining type is a supertype of subject type (not vice versa)
2012-10-29 17:11:56 +04:00
Svetlana Isakova
a0a4871bff
refactoring
...
no return from 'inferTypeArguments'
2012-10-29 17:11:56 +04:00
Svetlana Isakova
1f9d08861d
cache resolve results for incomplete type inference
2012-10-29 17:11:56 +04:00
Svetlana Isakova
3260a5a32c
added method 'copy' to ResolvedCallImpl
2012-10-29 14:41:50 +04:00
Svetlana Isakova
0acb6cb64d
minor
...
added NotNull annotation
2012-10-29 14:41:50 +04:00
Svetlana Isakova
41e355da51
invoke 'moveAllMyDataTo' on call.getTrace()
...
instead of 'commit'
to let such invocations on cached calls
2012-10-29 14:41:50 +04:00
Svetlana Isakova
b395d33ff0
debug names for temporary traces added
2012-10-29 14:41:49 +04:00
Andrey Breslav
6c1d3aa813
Annoying wrong inspection turned off
2012-10-26 20:01:26 +04:00
Alexander Udalov
e2809b8080
Revert changes introduced in a31b7480
...
JavaElementFinder is no longer needed to find namespace$src$ classes
2012-10-25 21:42:09 +04:00
Alexander Udalov
6e2e724b99
Implement JetPositionManager.getSourcePosition() properly
...
JetPositionManager now finds a PsiFile to create a SourcePosition correctly.
This fixes problems with breakpoints and navigation between frames when there's
more than one file with the given name (not necessarily in the same package)
2012-10-25 21:41:26 +04:00
Alexander Udalov
04a3aa8763
Test JetPositionManager.getSourcePosition()
2012-10-25 21:33:34 +04:00
Alexander Udalov
1469c1fe5e
Fix numbering in debugger tests
...
Line number in SourcePosition is actually 0-based
2012-10-25 21:33:30 +04:00
Alexander Udalov
3ce4d68c3b
Refactor tests for JetPositionManager
...
PositionManagerTestCase now inherits from MultiFileTestCase, which allows to
call configureByFile to configure tests properly.
Also multi-file tests are now done by copying test project file structure
2012-10-25 21:33:26 +04:00
Alexander Udalov
f42478f82f
JetExceptionFilter handles correctly the case of several files with the same name
...
Extract the logic to DebuggerUtils.findSourceFileForClass()
This fixes navigation from stack trace to a file, when there's more than one
file with this name in this package in the project
2012-10-25 21:32:32 +04:00