Commit Graph

1766 Commits

Author SHA1 Message Date
Alex Tkachman c0cc97063d optimized bytecode of is 2011-11-24 18:02:44 +02:00
Alex Tkachman c3ee9db470 Merge remote branch 'origin/master' 2011-11-24 17:38:32 +02:00
svtk 2fcc18f08b new method for import helper 2011-11-24 18:53:29 +04:00
Alex Tkachman fd9eadb729 KT-602: Array<T> method instead of default constructor parameter 2011-11-24 15:34:08 +02:00
Stepan Koltsov 9bd98cdf2b disable TypeInfoTest.testIsWithGenerics
(test is wrong, see http://youtrack.jetbrains.net/issue/KT-612)
2011-11-24 17:22:27 +04:00
Stepan Koltsov e8d41ea6c7 Revert "fix DescriptionRenderer failure if FunctionDescriptor.getReturnType returns null"
Problem will be fixed by removing @NotNull modifier.

This reverts commit fed075b0ca.
2011-11-24 17:20:22 +04:00
Maxim Shafirov 702305ad2c KT-515 fixed in platform code, re-enable java->kotlin resolve 2011-11-24 16:38:33 +04:00
svtk a9138eebc6 test for obsolete kt302 2011-11-24 16:10:23 +04:00
svtk 63304cc2cf Merge remote-tracking branch 'origin/master' 2011-11-24 16:02:44 +04:00
Andrey Breslav aa007d415d Moved to full, since the test uses JDK 2011-11-24 15:31:21 +03:00
svtk c80301a13d Changed 'getOverriddenDescriptors' method for accessors (get accessors of overridden properties) 2011-11-24 16:02:29 +04:00
svtk 850cd190f8 Exception on incomplete code fixed 2011-11-24 16:00:10 +04:00
svtk a7bb30a18c "Unused value" error added to existed tests 2011-11-24 15:59:44 +04:00
svtk 97f377b529 Added "unused value analysis" 2011-11-24 15:58:25 +04:00
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
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
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
Stepan Koltsov e33af7f729 KT-328 Local function in function literals cause exceptions
===
fun bar() = {
  bar()
}
===
2011-11-23 16:40:50 +04:00
Alex Tkachman ba700ebdbe test for unreproducable KT-528 2011-11-23 12:19:43 +02:00
Alex Tkachman b8f942857b KT-594 Array.get/set intrinsic 2011-11-23 11:56:47 +02: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
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
svtk a7a5fa852e KT-469 Allow val-reassignment when appropriate functions are defined 2011-11-21 17:34:31 +04:00