Commit Graph

357 Commits

Author SHA1 Message Date
Alex Tkachman 314bb73ac9 tests for KT-828 (fromm Sergey Ignatov) 2011-12-16 13:09:43 +04:00
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
svtk 09acc4d0da KT-244 Use dataflow info while resolving variable initializers 2011-12-16 13:09:39 +04:00
svtk 20d339e2da KT-786 Exception on incomplete code with 'when' 2011-12-16 13:09:34 +04:00
Andrey Breslav 0a2108d4d0 Constraint priorities integrated 2011-12-16 13:09:28 +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
Stepan Koltsov b1cf0ffcee more class and method signatures, use writer wrapper
(not yet complete)

own writer will be used to write both java and kotlin signatures
2011-12-13 18:28:47 +04:00
Alex Tkachman ff055399a7 house keeping 2011-12-13 15:45:18 +02: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
Stepan Koltsov 1260ba7a5f writing class signature
P. S. I'm going to refactor/cleanup code after feature is implemented
2011-12-11 23:04:01 +04:00
Stepan Koltsov ae6c8d6f78 move compileJavaAgainstKotlin tests 2011-12-11 22:27:55 +04:00
Stepan Koltsov 98511590f0 fix any in signature
reported by Alex Tkachman
2011-12-11 22:11:51 +04:00
Stepan Koltsov b5bb8ef5d8 working on signature generation for arrays
* more tests
* fix signature generation for Array<Array<Int>>
2011-12-11 21:23:30 +04:00
Alex Tkachman 9511c31cd9 test for KT-789 2011-12-10 09:24:14 +02:00
Stepan Koltsov 8ec998810f varargs
* generate VARARGS flag in FunctionCodegen
* test in CompileJavaAgainstKotlinTest
2011-12-09 19:42:07 +04:00
svtk 3ea077bb43 Merge remote-tracking branch 'origin/master' 2011-12-09 17:38:34 +04:00
svtk 63d74d41af KT-328 completion //Local function in function literals cause exceptions 2011-12-09 17:37:38 +04:00
Alex Tkachman 88bda09504 $typeInfo field better be protected 2011-12-09 12:27:50 +02:00
svtk 4d303b0225 KT-782 Allow backing field usage for accessors of variables on namespace level 2011-12-08 21:57:50 +04:00
Alex Tkachman 602aea0467 KT-707 default params for constructors 2011-12-08 19:22:09 +02:00
svtk b0ba456bd0 Merge remote-tracking branch 'origin/master'
Conflicts:
	compiler/frontend/src/org/jetbrains/jet/lang/resolve/DescriptorResolver.java
2011-12-08 19:22:12 +04:00
Andrey Breslav 22e1412c38 KT-743 Wrong type inference 2011-12-08 19:17:31 +04:00
svtk d93818d0f5 KT-371 Resolve default parameters for constructors 2011-12-08 18:29:52 +04:00
svtk a0cd4af3bd Merge remote-tracking branch 'origin/master' 2011-12-08 13:43:56 +04:00
svtk e05dea7046 added specializing error "Variable initializer is redundant" for unused-vars analysis 2011-12-08 13:43:46 +04:00
Alex Tkachman b89956f1fd LockPerf benchmark and related fixes (try/break/continue interoperability) 2011-12-08 11:18:27 +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 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 2270ab3cba KT-750 Type inference failed: Constraint violation 2011-12-07 17:37:54 +04:00
Andrey Breslav 40937e438b KT-762 Wrong highlighting in imports (No errors reported on unresolved imports) 2011-12-07 17:26:28 +04:00
Andrey Breslav 6e7082ca5e Merge remote branch 'origin/master' 2011-12-07 16:24:54 +04:00
Andrey Breslav 8bdfafd8c1 Test for KT-557 Wrong type inference near sure extension function 2011-12-07 16:24:49 +04: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
svtk af3b06b65b Merge remote-tracking branch 'origin/master'
Conflicts:
	compiler/frontend/src/org/jetbrains/jet/lang/cfg/JetFlowInformationProvider.java
2011-12-06 22:42:50 +04:00
svtk ec55dddfcd backing fields resolve changed
KT-462 Consider allowing initializing properties via property names when it is safe
KT-598 Allow to use backing fields after this expression
2011-12-06 22:41:19 +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 d1acab01cd Test fixed for KT-689 Allow to put Java and Kotlin files in the same packages 2011-12-06 14:49:56 +04: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