Andrey Breslav
ae5aeef147
Enable parameter assertions in BytecodeToolwindow
2013-02-04 15:41:19 +04:00
Alexander Udalov
4ca522bf0e
Fix codegen of do-while condition
...
The condition of a do-while loop can use variables declared in the loop
(variables can only be declared inside a block). Previously this behaviour
caused crash because after the block was generated, all variables declared
inside that block were gone from myFrameMap
#KT-3280 Fixed
2013-02-04 15:30:38 +04:00
Alexander Udalov
2a4f06e32d
Make the exception message in JvmClassName helpful
2013-02-04 15:27:31 +04:00
Alexander Udalov
7716feee71
Fix NPE in JetPsiUtil (EA-43298)
2013-02-04 15:27:30 +04:00
Nikolay Krasko
54e5fa5256
Imports resolution tests
2013-02-04 14:23:26 +04:00
Nikolay Krasko
e69acd9198
JetPsiBuilder -> JetImportsFactory rename
2013-02-04 14:23:25 +04:00
Nikolay Krasko
a15f1c8946
Test are imported functions completed
2013-02-04 14:23:24 +04:00
Nikolay Krasko
f05de2ffc8
KT-3165 Weird stack overflow in IDE (test added)
2013-02-04 14:23:23 +04:00
Nikolay Krasko
d4e3a4f74d
Tests added for checking two-phase (classes and functions) import resolution
2013-02-04 14:23:22 +04:00
Nikolay Krasko
ee227f01b9
Add test for checking ambiguity for root package and the same package
2013-02-04 14:23:21 +04:00
Nikolay Krasko
f2e78d9064
Create scope with lazy import resolve
2013-02-04 14:23:21 +04:00
Nikolay Krasko
69f699e6a1
Create enumeration LookupMode instead of using boolean onlyClasses
2013-02-04 14:23:20 +04:00
Nikolay Krasko
73785e74bc
Debug names for chained scopes in lazy resolve
2013-02-04 14:23:19 +04:00
Nikolay Krasko
6141d0305a
Test for ImportPath and JetImportDirective coherence
2013-02-04 14:23:18 +04:00
Nikolay Krasko
70ce304c93
Store alias name with import path
2013-02-04 14:23:17 +04:00
Nikolay Krasko
83bc8d4f21
Centralize and cache creating import directives
2013-02-04 14:23:16 +04:00
Nikolay Krasko
8b60b07cc5
Refactoring: remove warnings
2013-02-04 14:23:15 +04:00
Nikolay Krasko
2ec9e10f14
Refactoring: reuse method, remove warnings, don't process descriptors substituted to null twice
2013-02-04 14:23:15 +04:00
Nikolay Krasko
9b807a6c30
Refactoring: move AbstractScopeAdapter to scope package
2013-02-04 14:23:14 +04:00
Nikolay Krasko
c5de948cd3
Refactoring: remove warning
2013-02-04 14:23:13 +04:00
Nikolay Krasko
846d8f65e0
Refactoring: use delegation instead of subclassing
2013-02-04 14:23:12 +04:00
Andrey Breslav
deb9fce5d5
Speed up location of test classes
2013-02-01 19:31:39 +04:00
Andrey Breslav
79e27f2d90
Write vararg flag on value parameters
2013-01-31 22:05:56 +04:00
Andrey Breslav
b42777a28c
Remove unused parameters
2013-01-31 22:05:56 +04:00
Evgeny Gerashchenko
e1b7126ae3
Replaced variance with projection kind.
2013-01-31 21:33:43 +04:00
Evgeny Gerashchenko
d0b18287c8
Removed redundant 'out' in MutableMap.putAll
2013-01-31 21:33:43 +04:00
Evgeny Gerashchenko
74771cb2db
KT-3302 Method that implements two differing interfaces are reported as "Incompatible types in superclasses"
...
#KT-3302 fixed
2013-01-31 21:33:42 +04:00
Evgeny Gerashchenko
0f401d4c9d
Minor. Simplified code.
2013-01-31 21:33:42 +04:00
Alexander Udalov
2e64aac788
Add regression test for KT-3132
...
#KT-3132 Obsolete
2013-01-31 20:59:16 +04:00
Alexander Udalov
1d8e7626a1
Regenerate ranges testData
2013-01-31 20:58:22 +04:00
Alexander Udalov
cfce055b37
Introduce fake light class for file of package
...
Fixes problems related to not working breakpoints (see comment at the top of
the class)
#KT-3291 Fixed
2013-01-31 20:43:47 +04:00
Andrey Breslav
f6a8c5e886
Exit code is COMPILATION_ERROR whenever an error was reported through a message collector
2013-01-31 19:32:54 +04:00
Andrey Breslav
e31d5fd3fb
"Absent classpath entry" is now a warning
2013-01-31 19:32:54 +04:00
Andrey Breslav
bbde38a6dc
KT-1360 Vararg bug in front-end
2013-01-31 18:54:37 +04:00
Andrey Breslav
1fcbf1721b
Got rid of repeated local variable
2013-01-31 18:46:28 +04:00
Andrey Breslav
2d2c44ca9d
KT-2106 Mixed named and positional arguments should be allowed
...
#KT-2106 Fixed
2013-01-31 15:43:14 +04:00
Andrey Breslav
8fd59feb21
Logic refactored to a finite automaton
2013-01-31 15:43:14 +04:00
Andrey Breslav
fdde9b9c49
Methods extracted
2013-01-31 15:43:14 +04:00
Andrey Ponomarev
c25b9ff1f3
KT-2734 Wrong icon for enums in the Find class dialog
...
#KT-2734 Fixed
2013-01-31 15:16:14 +04:00
Andrey Ponomarev
cee8473910
KT-2153 Enum classes don't have a "K" overlay on the icon in project view
...
#KT-2153 Fixed
2013-01-31 15:16:12 +04:00
Svetlana Isakova
ba9c455ea1
KT-3301 Inference with several supertypes fails
...
#KT-3301 fixed
2013-01-30 20:29:30 +04:00
Nikolay Krasko
3c82e80745
Merge pull request #168 from ponomandr/KT-3250
...
KT-3250 Copyright plugin does not work on Kotlin sources
2013-01-30 08:03:34 -08:00
Evgeny Gerashchenko
07a25a7757
Removed newline after copyrights in generated injectors.
2013-01-30 19:24:16 +04:00
Evgeny Gerashchenko
2ef63035f2
Added newline after copyrights in generated tests.
2013-01-30 19:24:16 +04:00
Evgeny Gerashchenko
57e985b7f1
Generated codegen tests for ranges.
2013-01-30 19:24:15 +04:00
Evgeny Gerashchenko
21c37951d6
Removed old range test which were spread all over the place.
2013-01-30 19:23:51 +04:00
Evgeny Gerashchenko
9c83a2f85f
Renamed parameters of contains() in ranges.
2013-01-30 19:23:50 +04:00
Evgeny Gerashchenko
6877722f81
Extracted progressions to separate source file.
2013-01-30 19:23:50 +04:00
Andrey Breslav
fd6cb970e4
Correctly return existing provider if it is there
2013-01-30 18:18:52 +04:00
Andrey Breslav
5eb173e8dd
Protecting the trace with a lock
2013-01-30 18:02:05 +04:00