Commit Graph

109544 Commits

Author SHA1 Message Date
svtk 27293562ae Merge remote-tracking branch 'origin/master' 2011-11-28 13:15:35 +04:00
svtk ecb3db0912 KT-610 Distinguish errors 'unused variable' and 'variable is assigned but never accessed' 2011-11-28 13:15:03 +04:00
Nikolay Krasko 09de9bef20 KT-337 Can't break a line before a dot 2011-11-28 12:59:16 +04:00
Nikolay Krasko 5ad627fab9 KT-601 Kotlin run configuration can't work with Working Directory param (copy default java createJavaParameters() because of JavaParametersUtil.configureConfiguration) 2011-11-28 12:35:57 +04:00
Alex Tkachman 554aab83be npe() renamed to sure() 2011-11-26 10:01:57 +02:00
Alex Tkachman 2cbd072478 npe() runtime intrinsic method. 2011-11-26 09:30:24 +02:00
Pavel Talanov 97fbcb4775 Added and sorted tests from jet repository. Fixed a bug with custom setter. 2011-11-26 00:38:17 +04:00
Stepan Koltsov a6eeb01b64 try to fix VarArgTest
Accoring to spec array of class.getMethods() is not sorted, so we can't just call
getMethods()[0] to get desired method.
2011-11-25 22:31:29 +04:00
Pavel Talanov e36eaa08a4 Added array basic class. 2011-11-25 21:56:04 +04:00
Stepan Koltsov 0bd0932282 remove unintentional variable redeclarations 2011-11-25 21:39:28 +04:00
Pavel Talanov 0ea425e41b Supported single file without namespace. 2011-11-25 21:38:35 +04:00
Pavel Talanov e3d62b7903 Corrected class declaration logic. 2011-11-25 21:00:18 +04:00
Pavel Talanov 793ec886c7 Fixed a bug where class could not access namespace properties. 2011-11-25 20:14:02 +04:00
Pavel Talanov 504a2d5101 compareTo support. 2011-11-25 20:05:35 +04:00
Andrey Breslav 87dbeac643 Merge remote branch 'origin/master' 2011-11-25 18:32:24 +03:00
Andrey Breslav a7eada71ce By Pavel Talanov: KT-618 overloaded assignment operators should not allow for returning types other than Unit of Subtypes or the type where they are defined 2011-11-25 18:32:03 +03:00
Pavel Talanov d8d4b95dd7 Refactoring 2011-11-25 19:31:43 +04:00
Pavel Talanov 934d83b1bf Got rid of redundant ExpressionTranslator class. 2011-11-25 19:17:19 +04:00
Pavel Talanov afb1efaa34 Refactored reference provider logic. 2011-11-25 19:10:22 +04:00
Pavel Talanov bcca865620 Reorganised project structure. 2011-11-25 18:56:40 +04:00
Pavel Talanov 0b0afcedab Added test. 2011-11-25 18:44:11 +04:00
Stepan Koltsov a52d9a28cc merge regression folders 2011-11-25 18:31:28 +04:00
Stepan Koltsov 7bc2736568 merge FullJetPsiCheckerTest into QuickJetPsiCheckerTest 2011-11-25 18:22:48 +04:00
Nikolay Krasko 778e8fd21b Merge branch 'master' of git+ssh://git.labs.intellij.net/jet 2011-11-25 17:43:09 +04:00
Nikolay Krasko 0c758902ef KT-621 Remove .foo() pattern matching from when (Some tests were rewritten) 2011-11-25 17:39:16 +04:00
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