Commit Graph

101619 Commits

Author SHA1 Message Date
Stepan Koltsov a79202b7e7 Temporarily revert "more check for casts"
(because commit broke seveal tests)

This reverts commit 5d2dfcd48f.
2011-11-24 15:24:10 +04:00
Stepan Koltsov 648540ad0c restore +-JDK options 2011-11-24 15:18:41 +04:00
Stepan Koltsov dca64c8ba9 Revert "+-JDK and -NOSTDLIB options"
This reverts commit 8222011874.

+- JDK will be restored in next commit

removal of -STDLIB was requested by Andrey Breslav
2011-11-24 15:18:37 +04:00
Maxim Shafirov 12a0b5a01b Better line mapping if multiple classes where generated for the file 2011-11-24 14:45:59 +04:00
Maxim Shafirov 4c4742354a Bytecode range highlighting according to selection in tracked editor (doesn't work well with closures yet) 2011-11-24 14:34:16 +04:00
Sergey Ignatov d6efe927bf literals supported more correctly 2011-11-24 13:59:46 +04:00
Sergey Ignatov 7d117471e9 cleanup 2011-11-24 13:59:46 +04:00
Sergey Ignatov a3c91abd4d inspections from jet project imported 2011-11-24 13:59:46 +04:00
Sergey Ignatov 811d732c1e /s/cyclicShiftRight/ushr/g 2011-11-24 13:59:46 +04:00
Alex Tkachman 8f47280070 making code window to show full stacktrace in case of error 2011-11-24 08:46:00 +02:00
Andrey Breslav 5300f8c0c9 Merge remote branch 'origin/master' 2011-11-23 22:01:49 +03:00
Andrey Breslav b75a64c526 KT-509 Properties declared as constuctor parameters do not have accessor descriptors. 2011-11-23 22:01:39 +03:00
Maxim Shafirov 894a05def1 More kinds of stackoverflow to investigate, disable for a while 2011-11-23 21:52:18 +04:00
Andrey Breslav 1c14718214 Class renamed to better reflect it's purpose 2011-11-23 20:37:22 +03:00
Maxim Shafirov 6eea1716d3 Bytecode viewer, initial 2011-11-23 21:29:46 +04:00
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