Commit Graph

158 Commits

Author SHA1 Message Date
Alex Tkachman b990792917 Merge remote branch 'origin/master' 2011-11-24 22:33:13 +02:00
Andrey Breslav aba6b3d6b9 KT-549 type inference failed
KT-580 Type inference failed
KT-600 Problem with 'sure' extension function type inference
KT-571 Type inference failed
2011-11-24 22:56:14 +03:00
Alex Tkachman c0cc97063d optimized bytecode of is 2011-11-24 18:02:44 +02: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
svtk 63304cc2cf Merge remote-tracking branch 'origin/master' 2011-11-24 16:02:44 +04:00
svtk a7bb30a18c "Unused value" error added to existed tests 2011-11-24 15:59:44 +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
Andrey Breslav 1c14718214 Class renamed to better reflect it's purpose 2011-11-23 20:37:22 +03: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
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 cb37f7b56f ability to test stdlib 2011-11-23 09:56:20 +02:00
Alex Tkachman f38fe544ef test for compilation of stdlib 2011-11-22 15:16:59 +02: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
Alex Tkachman 159865d751 KT-560 - no type coertion for fields 2011-11-22 09:09:51 +02:00
Alex Tkachman f6426bc6d4 primitive iterators 2011-11-20 11:05:40 +02:00
Alex Tkachman abb15a85d6 KT-434 test and ability to supply full JDK for compiler tests 2011-11-19 07:01:58 +02:00
Alex Tkachman 50edc9750b KT-535 no need in outer type info for class object 2011-11-18 13:38:38 +02:00
Alex Tkachman b054ccefdb KT-518 - array like expression via intrinsic method 2011-11-18 12:10:08 +02:00
Alex Tkachman c896206284 commented test case for KT-285 2011-11-18 08:21:36 +02:00
Alex Tkachman 1b04870fa4 proper try/catch/finally 2011-11-16 14:26:16 +02:00
Alex Tkachman 84593f2cfb KT-513 Proper use of resolved call in case of infix calls 2011-11-15 16:52:35 +02:00
Alex Tkachman aaed9b0325 KT-504 array like expressions with type parameters 2011-11-15 12:42:51 +02:00
Stepan Koltsov 74654c467c group tests by directory 2011-11-15 00:58:28 +04:00
Alex Tkachman 3b2fb0da8f KT-508 accessors for enclosed private fields 2011-11-14 19:34:00 +02:00
Andrey Breslav 9ec55e08f4 Collective slices fixed 2011-11-14 16:25:37 +03:00
Alex Tkachman 6982ce454e KT-503 test. Never use asm.Type.getElementType() 2011-11-14 06:17:11 +02:00
Alex Tkachman 3904b91e4c backend refactoring from extension properties and proper naming scheme of inner classes and objects 2011-11-13 21:08:35 +02:00
Alex Tkachman d494463352 comment failing test 2011-11-12 21:59:51 +02:00
Alex Tkachman a3ac4506af failing test for kt-475 2011-11-12 20:51:43 +02:00
Andrey Breslav a322154477 JetConstructor renamed to avoid confusion 2011-11-12 22:18:55 +04:00
Stepan Koltsov 537a9ba804 fix JetOverloadTest broken in e97b91c6e4 2011-11-12 21:38:27 +04:00
Andrey Breslav c74a0a62cc KT-313 Bug in substitutions in a function returning its type parameter T 2011-11-12 20:29:38 +04:00
Stepan Koltsov 7975a8e0c3 narrow return type of ClassDescriptor.getConstructors
ClassDescriptor.getConstructors should return
Set<ConstructorDesctiptor> instead of Set<FunctionDescriptor>
2011-11-12 18:55:16 +04:00
Andrey Breslav ff62489233 No arithmetic for Chars (except for '-') 2011-11-12 18:37:26 +04:00
Stepan Koltsov 3193b7d2c4 fix incorrect overload error on regular function and extension function with same name
===
fun ff() = 1

fun Int.ff() = 1
===
2011-11-12 16:54:33 +04:00
Stepan Koltsov 5218246d80 KT-424: Check declarations for overload-compatibility
===
fun a() {}
fun a() {}
===

must be an error.
2011-11-10 20:00:15 +04:00
Stepan Koltsov 5fbf684998 continue work on KT-458
70b7810c30 fixed parser

this commit fixes typer
2011-11-10 19:07:51 +04:00
Andrey Breslav d4ea1d42c8 CommonSupertypes factored out
equalTypes() moved to TypeUtils
Lower bounds (stub implementation) introduced to type parameters
2011-11-09 16:56:05 +03:00
Alex Tkachman cfc41361ac expressions as functions 2011-11-08 22:45:48 +01:00
Andrey Breslav 1cbee4b28f Merge remote branch 'origin/master' 2011-11-08 16:25:15 +03:00
Andrey Breslav f62b3f4a42 Trying to fix tests on Ubuntu agents 2011-11-08 16:23:44 +03:00
svtk dfb17a5f0e KT-58 Allow finally around definite returns 2011-11-08 16:25:04 +04:00
Alex Tkachman 509ffb2fde refactoring of codegen contexts, and proper this/outer/super/receiver support 2011-11-08 11:11:42 +01:00
Andrey Breslav 14526a0263 KT-414 Hello world does not run if defined in an anonymous namesapce
+ getFQName moved out of a PSI class
2011-11-08 12:29:27 +03:00