Stepan Koltsov
b59970a610
JDR: work with names, not with PsiSomething
...
This should fix (or hide) problems like
http://ea.jetbrains.com/browser/ea_problems/33857
2012-02-21 21:10:25 +04:00
Stepan Koltsov
66e7945f29
minor JDR refactoring
...
* function descriptor cache is no longer needed in JDR
* fixed incorrect assertion
* removed unused parameter
* better exception message
Related to http://ea.jetbrains.com/browser/ea_problems/33872
2012-02-21 20:44:56 +04:00
Stepan Koltsov
aacf63ff6f
reading annotations from bytecode
...
(without fields yet)
2012-02-21 20:16:11 +04:00
Stepan Koltsov
175b7230f1
better compiler output for incomplete hierarchies
2012-02-21 18:37:49 +04:00
Alex Tkachman
181f4d444d
fix for broken test
2012-02-21 15:45:43 +02:00
Alexander.Podkhalyuzin
e012f1e34b
KT-1328 removing single class from file, should remove file too. Also changed file icon to one of containing classes icon.
2012-02-21 17:40:29 +04:00
Alex Tkachman
fb8fa8bf9e
intrinsic renamed to Intrinsic
2012-02-21 15:31:05 +02:00
Alex Tkachman
5e7de3f5ab
getting rid of JetObject.getOuterObject
2012-02-21 15:13:16 +02:00
Alex Tkachman
af437481a2
Merge remote branch 'origin/master'
2012-02-21 14:57:47 +02:00
Alex Tkachman
8b622f97f4
getting rid of TypeInfo
2012-02-21 14:54:00 +02:00
Alexander.Podkhalyuzin
2e2287f207
KT-1274 fixed tests
2012-02-21 16:10:13 +04:00
James Strachan
44169529f3
provide a hook so we can add post processors into the compiler; such as for generating javadoc etc
2012-02-21 11:29:50 +00:00
Evgeny Gerashchenko
478bf8ac0f
Fixed order of automatically implemented abstract members.
...
#KT-1357 fixed
2012-02-21 15:25:15 +04:00
Alexander.Podkhalyuzin
deac0e20ca
Fixed undo action after introduce variable.
...
Important: All created nodes shouldn't be physical.
2012-02-21 14:54:39 +04:00
Andrey Breslav
a5a28a11c7
No errors printed in "ignoreErrors" mode
2012-02-21 13:37:36 +04:00
Andrey Breslav
2ff896cc5a
Cleaned up Kompiler's error reporting
2012-02-21 12:52:59 +04:00
Stepan Koltsov
fd8b363a5f
fix tests
2012-02-20 22:58:07 +04:00
Stepan Koltsov
a1d88a0877
recognize @NotNull
...
http://youtrack.jetbrains.com/issue/KT-129
2012-02-20 22:37:06 +04:00
Stepan Koltsov
2026be5464
some automation in NamespaceComparator
2012-02-20 22:37:02 +04:00
Andrey Breslav
bff62484b1
KT-1306123.lng or 123.sht is not good name
2012-02-20 21:42:13 +04:00
Stepan Koltsov
5eb483b7a7
better error reporting on incomplete hierarchy in JDR
2012-02-20 21:28:10 +04:00
Stepan Koltsov
e4658efbd1
fix copy-paste in JDR
2012-02-20 21:27:58 +04:00
Svetlana Isakova
b35d340056
KT-1270 Poor highlighting when trying to dereference a nullable reference
2012-02-20 20:12:57 +04:00
Svetlana Isakova
05dfdc7377
KT-1293 Kompiler doesn't show error when element of Array<Int?> is assigned to Int
2012-02-20 17:31:08 +04:00
Stepan Koltsov
5077404c80
no overriden descriptors in ErrorNamedFunctionDescriptorImpl
...
fixes stack overflow in KT-1206
2012-02-20 17:09:00 +04:00
Nikolay Krasko
00fa077c34
KT-1294 Class rename fails to update import statement and breaks the code - add test for different packages and public java class.
2012-02-20 15:16:50 +04:00
Nikolay Krasko
9689c30a58
KT-1294 Class rename fails to update import statement and breaks the code - avoid multireference resolve for java classes
2012-02-20 15:16:49 +04:00
Alex Tkachman
436c298e47
weird bug with nested closures using outer receiver
2012-02-20 12:15:02 +02:00
Svetlana Isakova
046c13a264
KT-1041 Add check that thrown/catched expression is of Throwable type
2012-02-20 14:03:39 +04:00
Stepan Koltsov
b49c7f332c
unused code in JavaDescriptorResolver
2012-02-19 22:31:05 +04:00
Stepan Koltsov
1172e49f8a
cleanup after refactoring
...
merge property- and named-function- related code in OverrideResolver
2012-02-19 22:02:40 +04:00
Stepan Koltsov
ea8eb7412a
kill redeclaration handler in ClassDescriptor
2012-02-19 22:02:37 +04:00
Stepan Koltsov
ca8cf6cb49
missing error report on incompatible declaration
...
===
open class Aaaa() {
fun bb() = 1
}
class Bbbb() : Aaaa() {
fun <T> bb() = 1
}
===
2012-02-19 22:02:33 +04:00
Alex Tkachman
9073e4a6bb
fixed non compiling HtmlBuilder.kt
2012-02-19 14:22:54 +02:00
Stepan Koltsov
943c1efc32
remove unused code in OverrideResolver
2012-02-18 00:33:43 +04:00
Stepan Koltsov
842a70ca66
report conflicting overloads in functions with same parameters different type parameters
...
test case:
===
class Aaa() {
fun f() = 1
fun <P> f() = 1
}
===
2012-02-18 00:33:37 +04:00
Stepan Koltsov
3b56b90a7c
split ConflictingOverloads.jet test, add property overload conflict test
2012-02-18 00:33:26 +04:00
Stepan Koltsov
da0db20ed5
JavaDescriptorResolver: initialize outer class first
...
Outer class must be initialized before inner class because inner class
because inner class needs a reference to outer class.
Fixes http://youtrack.jetbrains.com/issue/KT-1324
2012-02-18 00:08:58 +04:00
Stepan Koltsov
d2a137d944
fix reading of jet signature with type parameter referencing self
...
===
class Something<A : Comparable<A>>
===
reported by Max
Also merge copy-paste in JavaDescriptorResolver
2012-02-17 22:32:11 +04:00
Maxim Shafirov
6cb7833e9b
Cleanup
2012-02-17 21:07:32 +04:00
Andrey Breslav
a87c0903f2
KT-224 "Overload ambiguity" when calling toString() method
2012-02-17 21:01:24 +04:00
Maxim Shafirov
bf508ae03e
KT-1245 Report syntax errors in kompiler
2012-02-17 21:00:45 +04:00
Alex Tkachman
252cd63d1c
KT-633 test for obsolete issue
2012-02-17 09:36:09 -05:00
Alex Tkachman
fac424c574
KT-725 test for obsolete issue
2012-02-17 09:12:48 -05:00
Alex Tkachman
082fdebaae
KT-723 optional boxing after call to .inc()
2012-02-17 09:08:41 -05:00
Alex Tkachman
614c5018f6
inspection suppressed
2012-02-17 08:26:21 -05:00
Nikolay Krasko
e4cefd000a
KT-1229 Packages should be showed in package derictive
2012-02-16 15:35:54 +04:00
Stepan Koltsov
356ad9bd0b
fix Read*BinaryClassTest test on windows
2012-02-15 17:11:03 +04:00
Stepan Koltsov
cf7be620a7
Read*BinaryClassTest: compare serialized namespace with hardcopy
2012-02-15 16:15:31 +04:00
Alefas
94402c5f3f
Name validator for introduce variable action.
2012-02-15 15:51:23 +04:00