Commit Graph

1809 Commits

Author SHA1 Message Date
Stepan Koltsov 690efbb39a KT-552 For variable unresolved if loop body is not block
===
for(index in 0..9)
   x[index] = index.byt // <-- index is inresolved here
===
2011-11-28 17:06:27 +04:00
Alex Tkachman afd8981c00 do not write compiled stdlib in to output dir 2011-11-28 14:51:12 +02:00
Alex Tkachman b9f39b00c0 KotlinCompiler and tests aware on standard library 2011-11-28 14:36:57 +02:00
Nikolay Krasko 627dd9cea4 KT-601 Kotlin run configuration can't work with Working Directory param (copy default java createJavaParameters() because of JavaParametersUtil.configureConfiguration) 2011-11-28 16:11:44 +04:00
Nikolay Krasko c09e9368e8 KT-621 Remove .foo() pattern matching from when (Rename method and correct grammar) 2011-11-28 15:29:01 +04:00
Nikolay Krasko 517947288c Merge branch 'master' of git+ssh://git.labs.intellij.net/jet into KT-337 2011-11-28 15:13:31 +04:00
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
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
Stepan Koltsov 0bd0932282 remove unintentional variable redeclarations 2011-11-25 21:39:28 +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
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
Andrey Breslav 992fabaf1f Unused imports removed 2011-11-25 15:56:15 +03: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
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
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
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
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
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
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