Commit Graph

268 Commits

Author SHA1 Message Date
Alex Tkachman 6039b0e721 test for unreproducable KT-779 2011-12-17 19:02:37 +02:00
Alex Tkachman 9f32a56a07 test for KT-511 2011-12-17 12:40:01 +02:00
svtk 47578b05f9 KT-843 Don't highlight incomplete variables as unused 2011-12-16 14:46:05 +04:00
Alex Tkachman a984b609bc KT-846: better (and correct) names for shared vars 2011-12-16 13:10:20 +04:00
Stepan Koltsov 068780f840 reading class signature (incomplete) 2011-12-16 13:10:15 +04:00
Stepan Koltsov f8c9f24d60 split readClass tests into directories 2011-12-16 13:10:14 +04:00
Stepan Koltsov a8640c1ec4 parse method in/out parameters 2011-12-16 13:10:10 +04:00
Andrey Breslav 55c11d0f44 KT-847 Allow "this" without {} in string templates 2011-12-16 13:10:06 +04:00
Stepan Koltsov 778fa2ed63 test class data reading by comparing serialization to string 2011-12-16 13:09:59 +04:00
Stepan Koltsov 4f9fb2226a skip @JetTypeParameter parameters 2011-12-16 13:09:58 +04:00
Stepan Koltsov a987d197f5 commit missing tests 2011-12-16 13:09:51 +04:00
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