Svetlana Isakova
696df0eb9b
more tests for KT-1897
...
#KT-1897 fixed
2012-05-11 14:24:38 +04:00
Natalia.Ukhorskaya
162cc7307d
KT-1935 Fixed: ACC_SUPER flag must be set for classes
2012-05-11 12:52:26 +04:00
Stepan Koltsov
9908791094
KT-1829 NoClassDefFoundError when using java inner classes
...
#KT-1829 Fixed
2012-05-11 01:08:30 +04:00
Svetlana Isakova
8d26629aff
Resolution diagnostic improvement
...
#KT-1940 fixed
2012-05-10 19:01:58 +04:00
Stepan Koltsov
e303c80868
add missing test for KT-1880
...
(hide static members from superclasses)
2012-05-10 18:56:18 +04:00
Stepan Koltsov
a00e765bd5
Read*BinaryClassTest: type parameter with two upper bounds
2012-05-10 18:56:18 +04:00
Alex Tkachman
6d2deaa70c
KT-1600: call to non-overriden generic method
2012-05-10 16:45:34 +03:00
Svetlana Isakova
765d851b1a
Tests for fixed issues
...
#KT-1736 fixed
#KT-1244 fixed
#KT-1738 fixed
2012-05-04 20:47:26 +04:00
Svetlana Isakova
22e9e7de10
more small tests
2012-05-04 20:47:26 +04:00
Andrey Breslav
2c8b3c879c
TypeSubstitutor rewritten to be more readable
2012-05-04 20:07:40 +04:00
Andrey Breslav
6ba44a133f
Tests for recursive upper bounds
2012-05-04 20:07:39 +04:00
Svetlana Isakova
53397d7130
tests for KT-606 dependents & duplicates
...
#KT-1489 fixed
#KT-1728 fixed
2012-05-04 14:54:12 +04:00
Stepan Koltsov
fcee8a4133
test vararg string loading
2012-05-03 18:23:37 +04:00
Svetlana Isakova
d4b816ef56
KT-1743 Analyze immutable local variables and parameters which are captured in closure
...
#KT-1743 fixed
2012-05-03 17:56:45 +04:00
Stepan Koltsov
08abd992c9
complicate kt471 test back
2012-05-03 17:39:08 +04:00
Alex Tkachman
25c804431b
test for KT-606
2012-05-03 16:12:44 +03:00
Stepan Koltsov
28dc1ba6be
resolve int vararg from java
2012-05-03 17:05:37 +04:00
Svetlana Isakova
bdb7de142a
Member 'invoke' of function class should be abstract
2012-05-03 16:15:08 +04:00
Svetlana Isakova
8723bbcac5
KT-1875 Safe call should be binded with receiver or this object (but not with both by default)
...
#KT-1875 fixed
2012-05-03 14:46:06 +04:00
Andrey Breslav
47934b1fe7
KT-1575 Can't define a fix-point generic type
...
#KT-1575 Fixed
2012-05-03 14:43:53 +04:00
Alex Tkachman
d58e988ca5
incorporating Sveta's patch on VariableAsFunctionResolvedCall
2012-05-03 12:56:51 +03:00
Stepan Koltsov
427afefce4
replace .sure with !!
2012-05-02 00:01:04 +04:00
Stepan Koltsov
d5d05d76f3
explictly test codegen with jdk-headers
2012-05-01 23:49:25 +04:00
Stepan Koltsov
5e77ca553c
make most codegen tests are indenendent from jdk-headers/stdlib now
2012-05-01 23:49:22 +04:00
Stepan Koltsov
0c7401c932
add java.nio.charset.Charset to mock JDK
2012-05-01 21:47:09 +04:00
Stepan Koltsov
d71723131d
Revert "enhance tests (mostly codegen)" temporarily
...
This reverts commit 95f9bcbacb .
2012-05-01 21:21:46 +04:00
Stepan Koltsov
95f9bcbacb
enhance tests (mostly codegen)
...
* drop dependency on stdlib/alt-headers in the most tests
* assign to myEnvironment at most once in JetLiteFixture
* more tests do not compile runtime
2012-05-01 19:11:48 +04:00
Svetlana Isakova
9c0eb285e2
back end test for 'variable as function' call case
2012-04-30 15:44:23 +04:00
Andrey Breslav
08de6d8d07
KT-1863 Wrong nullability for class derived from java classes.
...
#KT-1863 In progress
2012-04-28 23:13:41 +04:00
Stepan Koltsov
7352da34ef
resolve type parameters that reference type variables declared after
...
like
Aaa<B extends Bbb<C>, C>
#KT-1731 fixed
2012-04-28 17:43:53 +04:00
Stepan Koltsov
7af5282a26
resolve generic constructor
2012-04-28 17:43:52 +04:00
Alex Tkachman
7b7987ba0d
KT-1759 str.plus(str)
2012-04-28 08:09:02 +03:00
Svetlana Isakova
ebff94a632
NPE from EA fixed
2012-04-27 22:27:38 +04:00
Andrey Breslav
3ee8c5e469
A warning added: parameter names disagree upon override
...
This should be an error, but there is an issue with Java interop: Java parameters may change names or not have them.
2012-04-27 21:33:48 +04:00
Andrey Breslav
ebfb1ec792
KT-1558 Exception while analyzing
...
KT-1558 Fixed
2012-04-27 20:05:42 +04:00
Andrey Breslav
d3ceaf7656
Copy-paste bug fixed
...
The test is supposed to check classes and objects
2012-04-27 20:05:42 +04:00
Stepan Koltsov
fc732ef477
ReadJavaBinaryClassTest: find java files, not kotlin files
2012-04-27 19:09:40 +04:00
Stepan Koltsov
225c9b4fa0
java classes should extend java.lang.Object
...
#KT-1121 fixed
2012-04-27 16:16:02 +04:00
Andrey Breslav
d67cc468d8
KT-1862 Wrong MANY_IMPL_MEMBERS_NOT_IMPLEMENTED when trait extends class
...
#KT-1862 Fixed
2012-04-27 10:58:27 +04:00
Andrey Breslav
058e4b833b
Checks for default parameter value consistency
...
Inheriting default values from multiple superclasses is prohibited
2012-04-26 17:33:16 +04:00
Andrey Breslav
3a56b7905d
Default parameter values are not allowed in overriding functions
2012-04-26 17:33:15 +04:00
Stepan Koltsov
4a1c36d733
fix complex case of recursion in JavaDescriptorResolver
...
#KT-1804
2012-04-24 22:14:01 +04:00
Andrey Breslav
c686184847
KT-1860 Resolve annotations of function parameters
...
#KT-1860 Fixed
2012-04-24 21:53:23 +04:00
Andrey Breslav
789ff0b273
KT-1838 Constructor with a vararg
...
Resolution for properties declared as primary constructor parameters used to ignore the varargs annotation.
#KT-1838 Fixed
2012-04-23 14:16:07 +04:00
Evgeny Gerashchenko
e298391645
Fixed tests.
...
#KT-1799 fixed
2012-04-20 22:16:20 +04:00
Evgeny Gerashchenko
9bec7b5e9d
Merge branch 'diagnostics'
...
Conflicts:
compiler/cli/src/org/jetbrains/jet/compiler/CompileSession.java
compiler/frontend/src/org/jetbrains/jet/lang/diagnostics/Errors.java
2012-04-20 21:58:05 +04:00
Evgeny Gerashchenko
0f0330a4b4
Added rendering vararg keywords and valid parameter type in this case.
...
#KT-1840 fixed
2012-04-20 20:44:09 +04:00
Evgeny Gerashchenko
90ac45f3f9
Added extra space after function type arguments list in DescriptorRenderer. Added test.
2012-04-20 20:44:08 +04:00
Evgeny Gerashchenko
1f7c435a24
Removed val/var soft keywords in renderer for functions
2012-04-20 20:44:08 +04:00
Andrey Breslav
45a0873afa
KT-1835 cannot call a Java API which has a method from(String) and from(String...)
...
The problem was in the "more specific" relation, that didn't pay enough attention to varargs.
The correct behavior is in the spirit of JLS 15.12.2 (as of Java 5):
* a fixed-arity function always wins over a variable-arity functions
* if two vararg functions are compared, their parameters are checked for subtyping.
In the latter case, the candidates may have different number of formal parameters, so we
compare the matching parts and then check the rest against the vararg parameter.
#KT-1835 Fixed
2012-04-20 19:10:10 +04:00