Commit Graph

855 Commits

Author SHA1 Message Date
Andrey Breslav b6ec1fc884 Assertions for impossible descriptor structure 2012-03-02 16:24:07 +04:00
Stepan Koltsov cd019ac889 render "val" and "val", was rendered as "var" 2012-03-01 05:13:45 +04:00
Sergey Lukjanov 6e1bf6ee40 Merge branch 'master' of git://github.com/JetBrains/kotlin 2012-02-29 20:28:40 +04:00
Sergey Lukjanov b8da7ea452 '=>' replaced with '->' in hints 2012-02-29 19:26:31 +04:00
Stepan Koltsov 20ca194eef refactor TypeVariableResolver
* simplified and unified
* better diagnostics (if type variabe is not found, exception message contains reference)
2012-02-29 19:21:10 +04:00
Nikolay Krasko 8d1c3dc759 KT-1151 Code completion for not imported extension functions - refactorings:
- Don't touch call resolver
- Check only newly imported descriptors
- Use Stepa's wrapper for getting boolean attribute from annotation
2012-02-29 17:14:08 +04:00
Nikolay Krasko 67dc9ba6e3 KT-1151 Code completion for not imported extension functions - ignore parameters 2012-02-29 17:14:06 +04:00
Nikolay Krasko e6b79debb2 KT-1151 Code completion for not imported extension functions - completion for extension functions when function doesn't have parameters 2012-02-29 17:14:05 +04:00
Andrey Breslav 200b6fbd91 Better error reporting from the compiler to the IDE 2012-02-29 15:11:34 +04:00
pTalanov d6572f8094 Merge remote-tracking branch 'origin/master' 2012-02-28 13:32:48 +04:00
Svetlana Isakova 1610e7eefd fixes after merge 2012-02-27 22:11:13 +04:00
Svetlana Isakova 631961e761 Diagnostics & diagnostic factories refactoring 2012-02-27 21:39:26 +04:00
pTalanov 75b2334401 Merge remote-tracking branch 'origin/master' 2012-02-27 19:57:37 +04:00
pTalanov 3fc7e849de Reverting wrong changes 2012-02-27 19:15:28 +04:00
pTalanov 953c33a846 Project structure fixed 2012-02-27 19:07:59 +04:00
Andrey Breslav 963557f3c8 KT-1457 Subtyping doesn't work when type parameter is used indirectly in supertype declaration 2012-02-27 15:34:57 +04:00
pTalanov 8d6525f23f initial changes 2012-02-27 15:30:52 +04:00
Andrey Breslav cefd9d5ca2 KT-627 Drop Predicate expression 2012-02-27 12:58:23 +04:00
Evgeny Gerashchenko f84d22f040 Got rid of LinkedMultiMap, since it is added to IDEA platform. 2012-02-27 12:36:30 +04:00
Nikolay Krasko 782ea7b1c3 getElement() and getRangeInElement() are expected to return non-nullable values 2012-02-24 23:04:57 +04:00
Andrey Breslav d22f4eb144 Rename getOutType() -> getType() 2012-02-24 18:50:40 +04:00
Andrey Breslav 1f4f4e5c24 Remove the annoying misconcetion in the naming. 2012-02-24 18:39:35 +04:00
Andrey Breslav f049d27fa3 KT-1385 support multi line strings with templates 2012-02-24 14:25:31 +04:00
Svetlana Isakova cc244fad94 KT-1191 Wrong detection of unused parameters
KT-1219 Incorrect 'unused value' error in closures
2012-02-24 12:09:02 +04:00
James Strachan 0212f91343 add some helper classes so that we can implement kdoc fully in kotlin (to work around some inference ambiguity bugs) 2012-02-23 11:54:24 +00:00
Stepan Koltsov 35e157e9c5 fix tests 2012-02-23 01:18:11 +04:00
Stepan Koltsov b9ba7c6b9a hide FunctionDescriptor.initialize 2012-02-22 22:11:04 +04:00
Stepan Koltsov b9bc882bf9 useless constructor modality parameter 2012-02-22 22:10:58 +04:00
Alex Tkachman 53bba59a4f dbl -> toDouble 2012-02-22 13:14:41 +02:00
Andrey Breslav b46e20c5c3 KT-1138 Need better diagnostic for case when method/constructor call is followed by class initializer or simple block 2012-02-22 11:51:37 +04:00
Stepan Koltsov 71f62f872f fix stdlib compilation after javabean refactoring 2012-02-21 23:54:16 +04:00
Stepan Koltsov aacf63ff6f reading annotations from bytecode
(without fields yet)
2012-02-21 20:16:11 +04: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 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
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 2ff896cc5a Cleaned up Kompiler's error reporting 2012-02-21 12:52:59 +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
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
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 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