Commit Graph

101619 Commits

Author SHA1 Message Date
Stepan Koltsov a70487b055 fix UnusedVariables.jet test
(unintentional variable redeclaration)
2011-11-25 17:35:41 +04:00
Andrey Breslav 28311a8a99 Merge remote branch 'origin/master' 2011-11-25 17:23:16 +03:00
Andrey Breslav 08e55edca4 Error message improved 2011-11-25 17:23:05 +03:00
Pavel Talanov db365ddcb8 Refactoring function translator. 2011-11-25 17:06:59 +04:00
Andrey Breslav 992fabaf1f Unused imports removed 2011-11-25 15:56:15 +03:00
Pavel Talanov f1096cf2be Added support for initialization of properties as constructor parameters. 2011-11-25 16:53:03 +04:00
Andrey Breslav 548c650320 Merge remote branch 'origin/master' 2011-11-25 15:51:16 +03:00
Andrey Breslav 2ceb576215 Debug info added (required for meaningful stack traces) 2011-11-25 15:51:00 +03:00
Stepan Koltsov 194bd73edd temporarily print signature of generated method to diagnose failing tests on core7i-5-ubuntu 2011-11-25 16:12:48 +04:00
Stepan Koltsov f3f256699b print java.vendor too 2011-11-25 15:52:29 +04:00
Stepan Koltsov acaaa993c5 change DescriptionRenderer for null (internal error etc.) type 2011-11-25 15:49:28 +04:00
Stepan Koltsov 2396287753 fix DescriptionRendeder broken in 9ef4790976 2011-11-25 15:49:22 +04:00
Pavel Talanov 6ee95cf13a Added properties as constructor parameters support(Not initialized yet). 2011-11-25 15:23:57 +04:00
Pavel Talanov e9682952a1 Refactoring. 2011-11-25 15:17:27 +04:00
svtk 4c2b0b9444 some quick fixes refactoring 2011-11-25 15:15:51 +04:00
svtk c3447c3576 refactoring & KT-607 Val reassignment is not marked as an error 2011-11-25 15:14:38 +04:00
Pavel Talanov 181bc45bf0 Lots of refactoring and code improvements. 2011-11-25 14:00:28 +04:00
Alex Tkachman dce0746bd9 some debug print commented out 2011-11-25 10:50:33 +02:00
Alex Tkachman 21a0d1f85c KT-613 verify error ++/-- in presence of this|receiver 2011-11-25 10:32:17 +02:00
Alex Tkachman b990792917 Merge remote branch 'origin/master' 2011-11-24 22:33:13 +02:00
Stepan Koltsov 0b689f32a7 print environment in bootstrap.xml 2011-11-25 00:26:31 +04:00
Stepan Koltsov 7020d6e15c more check for casts
KT-445 (Don't allow deep instanceof for erased parameters) and more

see new tests in compiler/testData/checkerWithErrorTypes/full/cast
2011-11-24 23:52:10 +04:00
Andrey Breslav ae6e87ef5a Merge remote branch 'origin/master' 2011-11-24 22:43:16 +03:00
Andrey Breslav 25af9bbcad By Sergey Ignatov: creating JetParameters in JetPsiFactory 2011-11-24 22:42:15 +03:00
Pavel Talanov 97a413d0a2 Added test for operator overloading. 2011-11-24 23:30:06 +04:00
Stepan Koltsov 9ef4790976 allow null from CallableDescriptor.getReturnType 2011-11-24 23:16:33 +04:00
Andrey Breslav aba6b3d6b9 KT-549 type inference failed
KT-580 Type inference failed
KT-600 Problem with 'sure' extension function type inference
KT-571 Type inference failed
2011-11-24 22:56:14 +03:00
Pavel Talanov be1d7c979b Binary operation overloading for most cases (except contains, compareTo). 2011-11-24 23:10:43 +04:00
Andrey Breslav 0ff639fd68 Merge remote branch 'origin/master' 2011-11-24 21:14:58 +03:00
Andrey Breslav 1e63c6257c Throw exception if compilation fails on server 2011-11-24 21:14:50 +03:00
Alex Tkachman c0cc97063d optimized bytecode of is 2011-11-24 18:02:44 +02:00
Pavel Talanov 411c173dac Refactoring BinaryOperationTranslator. 2011-11-24 20:01:58 +04:00
Alex Tkachman c3ee9db470 Merge remote branch 'origin/master' 2011-11-24 17:38:32 +02:00
svtk 2fcc18f08b new method for import helper 2011-11-24 18:53:29 +04:00
Alex Tkachman fd9eadb729 KT-602: Array<T> method instead of default constructor parameter 2011-11-24 15:34:08 +02:00
Pavel Talanov 8cae5c9963 Added test for unary operation on int properties. 2011-11-24 17:30:26 +04:00
Pavel Talanov d23bdb492d Added test for unary operation on int properties. 2011-11-24 17:30:25 +04:00
Pavel Talanov fae803ac6f Refactoring property access translation code. 2011-11-24 17:30:25 +04:00
Pavel Talanov 66b3790798 Refactoring operation translator code. 2011-11-24 17:30:24 +04:00
Pavel Talanov af7d79e4bd Operator overloading: simple cases with ++ and --. 2011-11-24 17:30:23 +04:00
Stepan Koltsov 9bd98cdf2b disable TypeInfoTest.testIsWithGenerics
(test is wrong, see http://youtrack.jetbrains.net/issue/KT-612)
2011-11-24 17:22:27 +04:00
Stepan Koltsov e8d41ea6c7 Revert "fix DescriptionRenderer failure if FunctionDescriptor.getReturnType returns null"
Problem will be fixed by removing @NotNull modifier.

This reverts commit fed075b0ca.
2011-11-24 17:20:22 +04:00
Maxim Shafirov 702305ad2c KT-515 fixed in platform code, re-enable java->kotlin resolve 2011-11-24 16:38:33 +04:00
Andrey Breslav aa007d415d Moved to full, since the test uses JDK 2011-11-24 15:31:21 +03:00
svtk a9138eebc6 test for obsolete kt302 2011-11-24 16:10:23 +04:00
svtk 63304cc2cf Merge remote-tracking branch 'origin/master' 2011-11-24 16:02:44 +04:00
svtk c80301a13d Changed 'getOverriddenDescriptors' method for accessors (get accessors of overridden properties) 2011-11-24 16:02:29 +04:00
svtk 850cd190f8 Exception on incomplete code fixed 2011-11-24 16:00:10 +04:00
svtk a7bb30a18c "Unused value" error added to existed tests 2011-11-24 15:59:44 +04:00
svtk 97f377b529 Added "unused value analysis" 2011-11-24 15:58:25 +04:00