Nikolay Krasko
65fb8d40b7
KT-738 No kotlin type completion in extend class scope
2011-12-05 16:20:09 +04:00
Stepan Koltsov
47050a11d1
KT-746 Fill LocalVariableTable with method parameter names
2011-12-05 02:15:14 +04:00
Alex Tkachman
a145fc0afc
some debug output off
2011-12-03 20:58:49 +02:00
Alex Tkachman
1135c8ce7a
KT-737 compareTo() intrinsic
2011-12-03 20:51:56 +02:00
Alex Tkachman
90367ab138
optimized ?. in non-nullable case
2011-12-03 19:26:21 +02:00
Alex Tkachman
d8e6c18cfe
optimized sure for non-nullable types
2011-12-03 18:56:54 +02:00
Alex Tkachman
d33d1367de
KT-711 primitive value in left side of elvis operator
2011-12-03 18:22:18 +02:00
Stepan Koltsov
cd635121ea
(trivial) extract resolveParameterDescriptor method
2011-12-03 02:36:37 +04:00
Stepan Koltsov
622133f217
File parameter to NamedTestFactory
2011-12-02 23:39:52 +04:00
Andrey Breslav
d3abbc5b56
Common superinterface for JetBinaryOperation and JetUnaryOperation
2011-12-02 20:05:32 +03:00
Andrey Breslav
3b8d33d278
Merge remote branch 'origin/master'
2011-12-02 19:09:37 +03:00
Andrey Breslav
52ead44b5d
Show target descriptor in the quick docs window
2011-12-02 19:09:29 +03:00
Stepan Koltsov
f7fb30b5b6
document all possible kinds of MutableClassDescriptor.containingDeclaration
2011-12-02 18:51:15 +04:00
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
48eb597ea2
'inference' package moved from 'types' to 'resolve.calls'
2011-12-02 14:53:16 +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
e2d22b8df1
Merge remote branch 'origin/master'
2011-12-01 22:34:04 +03:00
Andrey Breslav
13a1777d39
KT-702 Type inference failed
2011-12-01 22:33:43 +03:00
Andrey Breslav
df733a5b60
Type checker moved to a separate package
2011-12-01 20:20:21 +03:00
Andrey Breslav
68d256c480
Equality moved to type checker
2011-12-01 20:19:13 +03:00
Alex Tkachman
6825fc8879
KT-665 wrong 0 on default long argument
2011-12-01 18:14:02 +02:00
Alex Tkachman
6febd82b99
Merge remote branch 'origin/master'
2011-12-01 17:27:12 +02:00
Alex Tkachman
e8b76e8752
patches from Andrey & Sergey Ignatov
2011-12-01 17:26:54 +02: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
e3cf374f31
better error diagnostics
2011-12-01 18:16:15 +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
a003e6d2e4
Merge remote branch 'origin/master'
2011-12-01 16:55:14 +03:00
Andrey Breslav
eab9827958
Merge remote branch 'origin/master'
2011-12-01 16:41:38 +03:00
Andrey Breslav
69547aca6d
Print a stacks trace of internal error when in internal mode
2011-12-01 16:41:17 +03:00
Nikolay Krasko
66821b407f
Merge remote-tracking branch 'origin/master'
2011-12-01 16:48:58 +04:00
Nikolay Krasko
eee0c02d65
KT-722 Don't show keywords after '.'
2011-12-01 16:47:16 +04: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
Andrey Breslav
8cee193f47
Multifile tests supported
...
Example of a multifile test: you create a single file under the "quick" directory and put text of all your test files into it, prepending each file with a comment as follows:
// FILE: foo
class foo
// FILE: bar
class <!FOO!>bar<!>
2011-12-01 14:38:10 +03:00
Alex Tkachman
7155be418d
fixing IDEA crash on stub building
2011-12-01 13:34:19 +02:00
Alex Tkachman
df4f53752c
Merge remote branch 'origin/master'
2011-12-01 12:58:37 +02: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
Alex Tkachman
74fe24ef80
refactoring of property handling and general handling of (this,receiver)
2011-12-01 12:58:20 +02:00
Nikolay Krasko
eac15880e5
Merge branch 'master' of git+ssh://git.labs.intellij.net/jet
2011-12-01 12:00:38 +04:00
Stepan Koltsov
957b2173d9
WritableScope.changeLockLevel()
...
This patch allows WritableScope "locking". WritableScope now has
three lock levels: reading, writing, both. Scope modification is
not allowed in "reading" state, scope data access is not allowed
in "writing".
Scope lock level can only be raised: from "writing" to "both" and
from "both" to "reading".
There are two reasons for this enhancement:
1. Code self-documentation. It is clear where WritableScope is used
as readonly scope. For example developers can see that class structure
is not modified after DelegationResolver.process(), because
MutableClassDescriptor.lockScopes() is called right after that
method.
2. Ease of debugging, program gets more assertions. For example,
if some scope is not yet filled and some member resolution is
triggered, IllegalStateException is thrown instead of wrong unresolved
reference.
Currently not all scope locks are configured strictly. In many cases
lock level is set to safe "both" value.
2011-11-30 23:24:02 +04: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
Nikolay Krasko
ffc5db6c35
Merge branch 'master' of git+ssh://git.labs.intellij.net/jet
2011-11-30 19:54:35 +04:00
Nikolay Krasko
1e3c45e65c
KT-688: Show kotlin keywords as auto completion in IDEA
2011-11-30 18:33: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