Natalia.Ukhorskaya
3fc2e5d20c
Attempt to split long or double on the stack exception
...
#KT-3042 Fixed
2012-11-20 13:35:30 +04:00
Natalia.Ukhorskaya
900788a8e0
Fix javaClass property for long and double
...
#KT-3046 Fixed
2012-11-19 21:19:48 +04:00
Pavel V. Talanov
7bb7445c57
Fix for invoking abstract method in enum
2012-11-19 20:18:45 +04:00
Alexander Udalov
6c7b32dc03
Fix data flow info after inner loops with continue-outer
...
ControlStructureTypingVisitor.containsBreak() is refined and now also takes
into account continue to outer loops
2012-11-16 17:56:30 +04:00
Alexander Udalov
6b65c44d45
Optimize DataFlowInfo.and()
...
Instead of copying everything, we now only completely copy one data flow info
and use another as a delegation target
2012-11-16 17:56:29 +04:00
Alexander Udalov
57f18fca2e
Retain data flow info after array accesses
2012-11-16 17:56:24 +04:00
Alexander Udalov
ac7ee9d3f5
Retain data flow info after when-expressions
...
This means the subject expression and the common data flow info of all entries'
conditions
2012-11-16 17:56:23 +04:00
Alexander Udalov
d0a2ba5737
Retain data flow info after is-expression
2012-11-16 17:56:22 +04:00
Alexander Udalov
ef3e38071c
Retain data flow info after try-finally
2012-11-16 17:56:21 +04:00
Alexander Udalov
d629fe2d91
Retain data flow info after 'for' loop range expressions
2012-11-16 17:56:20 +04:00
Alexander Udalov
0b1c87a812
Retain data flow info after conditions in do-while statements
2012-11-16 17:56:20 +04:00
Alexander Udalov
b0e9c7aab7
Retain data flow info after conditions in while-statements
2012-11-16 17:56:19 +04:00
Alexander Udalov
ae77bf0a4e
Retain data flow info after conditions in if-statements
2012-11-16 17:56:18 +04:00
Alexander Udalov
2872a0799a
Retain data flow info after string template expressions
2012-11-16 17:56:17 +04:00
Alexander Udalov
950f912154
Retain data flow info after multi-declaration
...
#KT-2825 In Progress
2012-11-16 17:56:17 +04:00
Alexander Udalov
a54e34282a
Retain data flow info after assignment operations (+= etc)
...
#KT-2825 In Progress
2012-11-16 17:56:16 +04:00
Alexander Udalov
f949d9e804
Retain data flow info after assignment statements
...
#KT-2825 In Progress
2012-11-16 17:56:15 +04:00
Alexander Udalov
3cbdb57d5c
Retain data flow info after assignments in initializer
...
#KT-2825 In Progress
2012-11-16 17:56:14 +04:00
Alexander Udalov
d19a824b14
Retain data flow info after elvis operator
...
#KT-2825 In Progress
2012-11-16 17:56:14 +04:00
Alexander Udalov
e4cd0e004f
Retain data flow info after boolean operations
...
#KT-2825 In Progress
2012-11-16 17:56:13 +04:00
Alexander Udalov
2e6500d848
Retain data flow info after in (contains)
...
#KT-2825 In Progress
2012-11-16 17:56:12 +04:00
Alexander Udalov
3358108c3f
Retain data flow info after == (equals)
...
#KT-2825 In Progress
2012-11-16 17:56:11 +04:00
Alexander Udalov
1fbe9b9a31
Retain data flow info after binary calls
...
Make autocasts in CandidateResolver when checking value argument types
#KT-2825 In Progress
2012-11-16 17:56:11 +04:00
Svetlana Isakova
96c1564c54
added ExpressionTypingServices.deparenthesize()
...
(with type resolution)
2012-11-16 15:32:59 +04:00
Svetlana Isakova
6d3981503b
refactoring (removed duplicated code)
2012-11-16 15:32:58 +04:00
Alexander Udalov
c261fa2c35
Fix line separators in TestGenerator
...
Do not convert line separators when loading copyright text. This fixes problems
when generating tests on Windows systems
2012-11-13 21:27:47 +04:00
Andrey Breslav
7e7e779e80
No printing of verbose compiler output in Ant task and REPL
2012-11-13 19:38:20 +04:00
Natalia.Ukhorskaya
ba2eab526a
Extension properties in class: don't put receiver on stack for GETFIELD/PUTFIELD instruction
...
#KT-3031 Fixed
2012-11-13 19:03:20 +04:00
Andrey Breslav
ef403cc91a
Alternative methods for progress reporting
2012-11-13 13:45:45 +04:00
Andrey Breslav
cca21e96c1
Progress class moved to jvm backend
2012-11-13 13:45:44 +04:00
Evgeny Gerashchenko
3fce07b83a
Arranged generator classes into packages to make it possible to compile GenerateInjectors separately.
2012-11-12 20:40:23 +04:00
Evgeny Gerashchenko
8d7e79c806
Renamed & moved AllInjectorsGenerator.
2012-11-12 19:54:22 +04:00
Evgeny Gerashchenko
47dd399cdd
Regenerated tests.
2012-11-12 19:54:22 +04:00
Evgeny Gerashchenko
7b677d7ff1
Moved test generating code into TestsGenerator, got rid of duplicates.
2012-11-12 18:30:50 +04:00
Svetlana Isakova
82e9d1f4fa
logic for fake value arguments creation
...
moved to 'resolveFakeCall' method
2012-11-12 15:32:12 +04:00
Svetlana Isakova
a90db452ff
resolveFakeCall instead of resolveExactSignature
...
usage changed in tests
2012-11-12 15:32:12 +04:00
Svetlana Isakova
e9c8be8449
complete type inference only for one candidate
...
(the most specific)
to avoid exponential resolve of value arguments for several candidates
where type inference is incomplete (or depends on expected type)
2012-11-12 15:32:11 +04:00
Svetlana Isakova
dda3091dfb
'CANNOT_COMPLETE_RESOLVE' error added
2012-11-12 15:32:11 +04:00
Svetlana Isakova
e7750c6dc7
OverloadingConflictResolver made singleton
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
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
Evgeny Gerashchenko
e691a0bc93
Considering variances when checking for erased casts.
2012-11-08 22:02:52 +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
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
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