Commit Graph

4254 Commits

Author SHA1 Message Date
Andrey Breslav 9a25b1a843 Merge remote branch 'origin/master' 2011-11-23 20:27:51 +03:00
Andrey Breslav 9cb0cc9fa6 KT-394 Make class object members visible inside the owning class
KT-588 Unresolved static method
2011-11-23 20:27:38 +03:00
Stepan Koltsov 5d2dfcd48f more check for casts
KT-445 (Don't allow deep instanceof for erased parameters) and more

see new tests in compiler/testData/checkerWithErrorTypes/full/cast
2011-11-23 18:15:37 +04:00
Natalia.Ukhorskaya cee75c5d36 Merge branch 'master' of git+ssh://git.labs.intellij.net/jet-contrib 2011-11-23 17:27:53 +04:00
Stepan Koltsov fed075b0ca fix DescriptionRenderer failure if FunctionDescriptor.getReturnType returns null 2011-11-23 17:25:36 +04:00
Stepan Koltsov 8222011874 +-JDK and -NOSTDLIB options
FullJetPsiCheckerTest has -JDK option
QuickJetPsiCheckerTest has +JDK option

FullJetPsiCheckerTest = QuickJetPsiCheckerTest with +JDK
QuickJetPsiCheckerTest = FullJetPsiCheckerTest with -JDK
2011-11-23 17:08:47 +04:00
Pavel Talanov e96c92358b Added test. Refactored test code: got rid of obsolete IncludeLibraryTest class. 2011-11-23 16:59:51 +04:00
Pavel Talanov cb7c05e550 Fixed design flaw which prevented base class from being inherited if it was defined after the derived class. 2011-11-23 16:59:50 +04:00
Pavel Talanov 88f061234b Refactoring. 2011-11-23 16:59:50 +04:00
Pavel Talanov f5e5ac42dd Finished work on namespaces. 2011-11-23 16:59:49 +04:00
Pavel Talanov f806af4829 Work on namespaces in progress. 2011-11-23 16:59:48 +04:00
Pavel Talanov 36d033ea48 . 2011-11-23 16:59:47 +04:00
Pavel Talanov 7d43131173 Rewrote reference translation a bit. Added support for when call expression. 2011-11-23 16:59:47 +04:00
Pavel Talanov 2d84d17555 Supported overloading plus operator. 2011-11-23 16:59:46 +04:00
Pavel Talanov db02cd168b Added support for nullable types in is check. 2011-11-23 16:59:46 +04:00
Stepan Koltsov e33af7f729 KT-328 Local function in function literals cause exceptions
===
fun bar() = {
  bar()
}
===
2011-11-23 16:40:50 +04:00
Natalia.Ukhorskaya e751e9e032 Merge branch 'master' of git+ssh://git.labs.intellij.net/jet-contrib 2011-11-23 14:59:10 +04:00
Natalia.Ukhorskaya 639644d227 Merge branch 'master' of git+ssh://git.labs.intellij.net/jet-contrib 2011-11-23 14:59:10 +04:00
Natalia.Ukhorskaya 01025a07c6 Help at rigth part 2011-11-23 14:55:42 +04:00
Natalia.Ukhorskaya dca537ce70 Help at rigth part 2011-11-23 14:55:42 +04:00
Alex Tkachman ba700ebdbe test for unreproducable KT-528 2011-11-23 12:19:43 +02:00
Sergey Ignatov 242daa8e17 KT-595 Don't create open functions in open classes 2011-11-23 14:12:04 +04:00
Alex Tkachman b8f942857b KT-594 Array.get/set intrinsic 2011-11-23 11:56:47 +02:00
Sergey Ignatov 428d6ecfae test for object literal updated 2011-11-23 13:52:46 +04:00
Sergey Ignatov f8aa6c727b cleanup 2011-11-23 13:30:07 +04:00
Sergey Ignatov 75a4d34da7 KT-584 Convert C-style for statement more correctly 2011-11-23 13:29:59 +04:00
Alex Tkachman 8c842a6d5c KT-529 wrong naming of anonimous classes 2011-11-23 11:20:33 +02:00
Alex Tkachman 1c6c5d2bdc test for unreproducable kt533 2011-11-23 10:14:13 +02:00
Alex Tkachman dcf294b1fb Merge remote branch 'origin/master' 2011-11-23 09:56:42 +02:00
Alex Tkachman cb37f7b56f ability to test stdlib 2011-11-23 09:56:20 +02:00
Andrey Breslav 9edd865a9c More puzzlers 2011-11-23 11:15:49 +04:00
svtk 4bf3a61621 KT-575 Cannot ++ a class object member 2011-11-22 18:05:50 +04:00
Alex Tkachman 6628920925 Merge remote branch 'origin/master' 2011-11-22 15:17:16 +02:00
Alex Tkachman f38fe544ef test for compilation of stdlib 2011-11-22 15:16:59 +02:00
Stepan Koltsov 91cb701956 KT-526 Unresolved reference for inner static class
===
namespace demo

class Foo {
    class object {
        class Bar { }
    }
}
class User {
    fun main() : Unit {
        var boo : Foo.Bar? /* <-- unresolved reference to Bar */ = null
    }
}
===
2011-11-22 16:55:07 +04:00
Andrey Breslav 9dd9107362 Supporting "kotlin.running.in.server.mode" to throw exception from the analyzer to be logged by the server 2011-11-22 16:15:57 +03:00
svtk 8cf7618dfb KT-41 Make functions with errors in returning statement return ERROR type and not Nothing 2011-11-22 15:09:59 +04:00
Alex Tkachman 8eabc2978e KT-581 wrong implicit receiver for intrinsic method call 2011-11-22 12:57:24 +02:00
Alex Tkachman efceb12f3b rewrite of closure capturing for object literals 2011-11-22 12:35:42 +02:00
svtk ed4dc03b16 'Implement methods' fix was bound to an error 2011-11-22 14:32:49 +04:00
Sergey Ignatov d7e06aeb6a cleanup 2011-11-22 14:25:28 +04:00
Sergey Ignatov 8f91bc3f5e namespace block removed 2011-11-22 14:17:37 +04:00
Sergey Ignatov 8a74f4fc3e str.equals("") replaced by str.isEmpty() 2011-11-22 13:49:48 +04:00
Sergey Ignatov ddcf8d06a3 now only test depends from common-io.jar 2011-11-22 13:26:38 +04:00
Sergey Ignatov 94f8b3581c test for new Runnable changed 2011-11-22 13:16:43 +04:00
Sergey Ignatov 4f14e3121d object literal supported 2011-11-22 13:14:28 +04:00
Sergey Ignatov 74e96f2cc2 ! added 2011-11-22 13:14:04 +04:00
Sergey Ignatov fb0cf96488 NPE fixed 2011-11-22 13:13:41 +04:00
Alex Tkachman 159865d751 KT-560 - no type coertion for fields 2011-11-22 09:09:51 +02:00
svtk 5fa9cbdf76 rename 2011-11-21 19:28:13 +04:00