Andrey Breslav
09c5c50937
Test fixed
2011-12-02 15:43:44 +03:00
Andrey Breslav
5175293eab
'inference' package moved from 'types' to 'resolve.calls'
2011-12-02 15:28:46 +03:00
Andrey Breslav
5cbf78ebfe
Merge remote branch 'origin/master'
2011-12-02 14:39:39 +03:00
Andrey Breslav
844c9014a6
Test for KT-716 Type inference failed
2011-12-02 14:39:27 +03:00
svtk
6f314c09b0
Merge remote-tracking branch 'origin/master'
2011-12-02 14:18:44 +04:00
svtk
39ac205b55
KT-250 Incorrect variable resolve in constructor arguments of superclass
...
KT-10 Don't allow to use properties in supertype initializers
KT-617 Prohibit dollars in call to superclass constructors
2011-12-02 14:18:36 +04:00
Andrey Breslav
13a1777d39
KT-702 Type inference failed
2011-12-01 22:33:43 +03:00
Stepan Koltsov
6115d77d41
one more test for instanceof erased
2011-12-01 18:23:52 +04:00
Stepan Koltsov
b6e231a2bd
better class name
2011-12-01 18:20:59 +04:00
Stepan Koltsov
52c1e9a950
one more case of KT-445 Don't allow deep instanceof for erased parameters
...
===
(a : List<out Any>) is List<out Int>
===
2011-12-01 17:41:13 +04:00
Andrey Breslav
8d439f6058
A quick and dirty fix for
...
KT-498 Very strange error in the type checker
2011-12-01 14:52:48 +03:00
Andrey Breslav
aad2d17cd8
'quick' directory renamed to 'tests' which reflects its contents
2011-12-01 14:40:31 +03:00
Andrey Breslav
8e8d74e199
Test directory renamed to 'diagnostics' which reflects its contents
2011-12-01 14:39:15 +03:00
Stepan Koltsov
aa4c6e8e8e
Make proper scope for property declaration
...
Make sure same scope is used for both property creation and for properly body resolution.
This fixes KT-421 Strange 'unresolved' bug with backing fields.
2011-11-30 20:48:37 +04:00
Andrey Breslav
49c29dd323
KT-691 Allow to create nested namespaces with dot delimiter
2011-11-30 15:06:55 +03:00
Andrey Breslav
7fd7bdb2b8
KT-668 Failed to resolve generic parameter
...
Same lower and upper bounds cause an equality constraint to be created
2011-11-30 12:56:11 +03:00
Andrey Breslav
5293d1553b
// KT-630 Bad type inference
2011-11-30 11:02:03 +03:00
Andrey Breslav
90c4b0e746
Raw strings: """ .. """ fixed
2011-11-30 10:20:19 +03: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
Stepan Koltsov
4fc41f4ad9
mark syntax errors in QuickJetPsiCheckerTest
2011-11-29 01:55:39 +04: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
Stepan Koltsov
a9a07857de
sometimes it not permitted to redeclare variable in nested scope (KT-527)
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
b9f39b00c0
KotlinCompiler and tests aware on standard library
2011-11-28 14:36:57 +02: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
Alex Tkachman
554aab83be
npe() renamed to sure()
2011-11-26 10:01:57 +02: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
svtk
c3447c3576
refactoring & KT-607 Val reassignment is not marked as an error
2011-11-25 15:14:38 +04:00
Alex Tkachman
21a0d1f85c
KT-613 verify error ++/-- in presence of this|receiver
2011-11-25 10:32:17 +02:00