Andrey Breslav
683e511cf3
OverloadResolutionResult is returned from CallResolver instead of descriptors. This makes more information availbale to the caller (useful for better diagnostics).
2011-12-16 13:09:40 +04:00
Andrey Breslav
4ff84c5974
Read only interface extracted from OverloadResolutionResult
2011-12-16 13:09:30 +04:00
Andrey Breslav
0a2108d4d0
Constraint priorities integrated
2011-12-16 13:09:28 +04:00
Stepan Koltsov
b86625a437
writing my signatures
2011-12-14 00:58:17 +04:00
Stepan Koltsov
4f16b5da8c
better test
2011-12-14 00:58:13 +04:00
svtk
7b989a91db
Merge remote-tracking branch 'origin/master'
2011-12-13 19:43:31 +04:00
svtk
a41d33a56c
KT-351 Distinguish statement and expression positions
2011-12-13 19:43:20 +04:00
Alex Tkachman
c45d08b7e5
fix for KT-796/797 candidate/resultingDescriptor misuse
2011-12-12 16:21:02 +02:00
Alex Tkachman
92d8d2de72
functional list benchmark and part of rewrite of type info codegen for performance reasons
2011-12-12 10:40:42 +02:00
Alex Tkachman
9511c31cd9
test for KT-789
2011-12-10 09:24:14 +02:00
Alex Tkachman
88bda09504
$typeInfo field better be protected
2011-12-09 12:27:50 +02:00
Andrey Breslav
744253bcd3
StackOverlowes fixed with FQNames remembered in trace
2011-12-09 13:51:44 +04:00
Alex Tkachman
602aea0467
KT-707 default params for constructors
2011-12-08 19:22:09 +02:00
Stepan Koltsov
0656f1f0e0
writing java method signatures
...
All tests pass, but it does not mean nothing is broken.
2011-12-08 04:31:44 +04:00
Alex Tkachman
43885f0955
KT-769, KT-773 wrong compilation of when
2011-12-07 20:34:48 +02:00
Stepan Koltsov
c76463256b
refactor tests
2011-12-07 22:27:42 +04:00
Stepan Koltsov
b2917154e0
extract file utils
2011-12-07 22:27:38 +04:00
Stepan Koltsov
a16874be6f
Revert "refactor tests". I've broken tests again.
...
This reverts commit 8db2617701 .
2011-12-07 22:06:35 +04:00
Stepan Koltsov
8db2617701
refactor tests
2011-12-07 21:01:51 +04:00
Stepan Koltsov
4cd02c983d
CompileJavaAgainstKotlinTest
...
Test is:
1. find pairs of kotlin/java files in compiler/testData/compileJavaAgainstKotlin
and for each pair
2. compile kotlin file
3. compile java file with kotlin .class in classpath
4. check everything is OK
2011-12-07 20:32:58 +04:00
Andrey Breslav
242c59ffa6
Test fixed after adding debug info
2011-12-07 19:55:44 +04:00
Alex Tkachman
2d94248731
accidentally commited not finished test commented
2011-12-07 11:54:23 +02:00
Alex Tkachman
d272979b09
thread ring benchmark and related bug fixes (non null array creation and wrong signature of enclosing class)
2011-12-07 11:51:50 +02:00
Stepan Koltsov
bf54dc5453
test nullable return types are read from .class files
2011-12-06 23:25:26 +04:00
Stepan Koltsov
6f21de8edc
working on reading class data from .class files
2011-12-06 22:32:17 +04:00
Stepan Koltsov
f68aabbcab
Temporarily revert "working on reading class data from .class files"
...
This reverts commit 29ebb124c8 .
2011-12-06 17:48:33 +04:00
Alex Tkachman
ecb323a13e
KT-756 incorrect intrinsics on nullable numbers
2011-12-06 15:03:26 +02:00
Stepan Koltsov
29ebb124c8
working on reading class data from .class files
2011-12-06 16:54:52 +04:00
Alex Tkachman
5dff5bded9
KT-757 wrong inv() for long
2011-12-06 13:29:28 +02:00
Andrey Breslav
b182d61a03
Merge remote branch 'origin/master'
...
Conflicts:
compiler/backend/src/org/jetbrains/jet/codegen/FunctionCodegen.java
2011-12-06 14:44:39 +04:00
Andrey Breslav
deb8d5ea20
KT-689 Allow to put Java and Kotlin files in the same packages
2011-12-06 14:43:10 +04:00
Alex Tkachman
627c2186e9
test for obsolete KT-684
2011-12-05 17:29:43 +02:00
Alex Tkachman
b253529e27
KT-753 shift operations have second arg Int
2011-12-05 17:13:10 +02:00
Alex Tkachman
91549ed359
KT-752 RangeTo intrinsic called with receiver
2011-12-05 16:55:17 +02:00
Alex Tkachman
a145fc0afc
some debug output off
2011-12-03 20:58:49 +02:00
Alex Tkachman
1135c8ce7a
KT-737 compareTo() intrinsic
2011-12-03 20:51:56 +02:00
Alex Tkachman
90367ab138
optimized ?. in non-nullable case
2011-12-03 19:26:21 +02:00
Alex Tkachman
d8e6c18cfe
optimized sure for non-nullable types
2011-12-03 18:56:54 +02:00
Alex Tkachman
d33d1367de
KT-711 primitive value in left side of elvis operator
2011-12-03 18:22:18 +02:00
Stepan Koltsov
622133f217
File parameter to NamedTestFactory
2011-12-02 23:39:52 +04:00
Alex Tkachman
6825fc8879
KT-665 wrong 0 on default long argument
2011-12-01 18:14:02 +02:00
Alex Tkachman
74fe24ef80
refactoring of property handling and general handling of (this,receiver)
2011-12-01 12:58:20 +02:00
Andrey Breslav
aad2d17cd8
'quick' directory renamed to 'tests' which reflects its contents
2011-12-01 14:40:31 +03:00
Andrey Breslav
8cee193f47
Multifile tests supported
...
Example of a multifile test: you create a single file under the "quick" directory and put text of all your test files into it, prepending each file with a comment as follows:
// FILE: foo
class foo
// FILE: bar
class <!FOO!>bar<!>
2011-12-01 14:38:10 +03:00
Stepan Koltsov
957b2173d9
WritableScope.changeLockLevel()
...
This patch allows WritableScope "locking". WritableScope now has
three lock levels: reading, writing, both. Scope modification is
not allowed in "reading" state, scope data access is not allowed
in "writing".
Scope lock level can only be raised: from "writing" to "both" and
from "both" to "reading".
There are two reasons for this enhancement:
1. Code self-documentation. It is clear where WritableScope is used
as readonly scope. For example developers can see that class structure
is not modified after DelegationResolver.process(), because
MutableClassDescriptor.lockScopes() is called right after that
method.
2. Ease of debugging, program gets more assertions. For example,
if some scope is not yet filled and some member resolution is
triggered, IllegalStateException is thrown instead of wrong unresolved
reference.
Currently not all scope locks are configured strictly. In many cases
lock level is set to safe "both" value.
2011-11-30 23:24:02 +04:00
Andrey Breslav
90c4b0e746
Raw strings: """ .. """ fixed
2011-11-30 10:20:19 +03:00
svtk
2849c58d47
Merge remote-tracking branch 'origin/master'
2011-11-29 19:04:30 +04:00
svtk
ba49f508c9
KT-609 Analyze not only local variables, but function parameters as well in 'unused values' analysis
2011-11-29 19:04:15 +04:00
Alex Tkachman
ce1718e518
better handling of empty if/else blocks
2011-11-29 11:56:30 +02:00
Stepan Koltsov
4fc41f4ad9
mark syntax errors in QuickJetPsiCheckerTest
2011-11-29 01:55:39 +04:00