Commit Graph

1943 Commits

Author SHA1 Message Date
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
svtk 7213d43f22 added util methods 'getParentOfType', 'isAncestor' for descriptors 2011-12-08 13:42:32 +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
Stepan Koltsov ec83517f8d generic signature is not needed in bridge method
(signature generation code will be restored/rewritten in next commit)

please review
2011-12-08 04:31:40 +04:00
Stepan Koltsov c6ed916101 fix wrong names 2011-12-08 04:31:36 +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 8735122cce Merge remote branch 'origin/master' 2011-12-07 19:55:51 +04:00
Andrey Breslav 242c59ffa6 Test fixed after adding debug info 2011-12-07 19:55:44 +04:00
Andrey Breslav ae03b4531e Debug info for overload resolution/type inference 2011-12-07 19:45:21 +04:00
Alex Tkachman 1164113233 Merge remote branch 'origin/master' 2011-12-07 15:57:16 +02:00
Andrey Breslav 2270ab3cba KT-750 Type inference failed: Constraint violation 2011-12-07 17:37:54 +04:00
Alex Tkachman ab77056345 Merge remote branch 'origin/master' 2011-12-07 15:36:19 +02:00
Alex Tkachman 41111c3bee spectral norm benchmark 2011-12-07 15:36:07 +02: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 2d94248731 accidentally commited not finished test commented 2011-12-07 11:54:23 +02:00
Alex Tkachman 99c6e69a19 Merge remote branch 'origin/master' 2011-12-07 11:52:14 +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
Nikolay Krasko e5c39df519 KT-658 Show types in IDEA auto assist for kotlin 2011-12-07 12:19:50 +04:00
Stepan Koltsov bf54dc5453 test nullable return types are read from .class files 2011-12-06 23:25:26 +04:00
svtk a9d1cea965 fix after merge 2011-12-06 22:45:19 +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 d38f1cf813 temporarily disable java.elementFinder in plugin
to continue work on type loader

(approved by Andrey)
2011-12-06 22:32:12 +04:00
Stepan Koltsov 0d5f507a6c split Bounds.jet test into smaller tests 2011-12-06 22:32:07 +04:00
Nikolay Krasko 834c1aeacc Merge conflicts 2011-12-06 22:11:30 +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
Stepan Koltsov 1ad4b73f5e fix "name" parameter name 2011-12-06 16:28:25 +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 b9f1ddd14c default params of constructors (untested because frontend is not ready yet) 2011-12-06 12:42:18 +02:00
Alex Tkachman 36c0ab6642 work in progress on extra type info in bytecode 2011-12-06 09:25:59 +02: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
Nikolay Krasko fedef4796a Fix compilation 2011-12-05 17:06:07 +04:00
Nikolay Krasko 8e5c38b177 KT-738 No kotlin type completion in extend class scope - Fixes after CR-KT-13 review 2011-12-05 16:55:58 +04:00