Commit Graph

1833 Commits

Author SHA1 Message Date
Stepan Koltsov d984f6c4b8 make DeclarationDescriptor.toString safe
DescriptionRenderer may throw if this is not yet completely initialized
It is very inconvenient while debugging
2011-11-30 02:43:24 +04:00
Stepan Koltsov 60214b4f59 safer PropertyDescriptor.getOutType()
Add @NotNull annotation because getOutType must not return null for PropertyDescriptor
2011-11-30 02:42:56 +04:00
Andrey Breslav e9a9562efa Test for KT-398 Internal error when property initializes with function 2011-11-29 22:16:13 +03:00
Andrey Breslav 291f508edc KT-604 Internal frontend error 2011-11-29 22:14:31 +03:00
Andrey Breslav be29dd9155 Test for kt-524 2011-11-29 22:14:16 +03:00
Andrey Breslav dd4cc1686d Tests for recently fixed bugs 2011-11-29 22:11:42 +03:00
Andrey Breslav 8a93421ecb KT-597 Type inference failed
Resolution rules changed: now autocast and non-autocast candidates are judged together
2011-11-29 21:03:42 +03:00
svtk 2849c58d47 Merge remote-tracking branch 'origin/master' 2011-11-29 19:04:30 +04:00
svtk ba49f508c9 KT-609 Analyze not only local variables, but function parameters as well in 'unused values' analysis 2011-11-29 19:04:15 +04:00
Alex Tkachman ce1718e518 better handling of empty if/else blocks 2011-11-29 11:56:30 +02:00
Nikolay Krasko 84cb0a179a KT-622 Add when without condition. (Only changes for parsing were added. A special task for semantic level is KT-657) 2011-11-29 12:48:08 +04:00
Alex Tkachman e787d94b96 ++/-- performance optimization 2011-11-29 09:35:11 +02:00
Stepan Koltsov 4fc41f4ad9 mark syntax errors in QuickJetPsiCheckerTest 2011-11-29 01:55:39 +04:00
Andrey Breslav 8498280b0e Debug output removed 2011-11-28 21:52:04 +03:00
Andrey Breslav a7d61bc433 Merge remote branch 'origin/master' 2011-11-28 21:44:16 +03:00
Andrey Breslav 11e957a87d "Resolve window" for debugging purposes 2011-11-28 21:44:10 +03:00
svtk f5667874b0 Merge remote-tracking branch 'origin/master'
Conflicts:
	compiler/frontend/src/org/jetbrains/jet/lang/types/expressions/ControlStructureTypingVisitor.java
2011-11-28 18:40:24 +04:00
svtk fc943049d3 KT-629 Assignments are parsed as expressions 2011-11-28 18:38:40 +04:00
Nikolay Krasko ec7c0e8617 Merge remote-tracking branch 'origin/master' 2011-11-28 18:36:06 +04:00
Nikolay Krasko 859c9f44b0 KT-337 Can't break a line before a dot (fixes after review) 2011-11-28 18:31:17 +04:00
Stepan Koltsov a9a07857de sometimes it not permitted to redeclare variable in nested scope (KT-527) 2011-11-28 17:54:58 +04:00
Stepan Koltsov 709e4b3561 move TaskPrioritizer.isLocal to DescriptorUtils 2011-11-28 17:54:58 +04:00
Alex Tkachman 26aaabbf17 Merge remote branch 'origin/master' 2011-11-28 15:13:35 +02:00
Alex Tkachman a9c4073f8c test for unreproducable KT-640 2011-11-28 15:12:09 +02:00
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