Commit Graph

574 Commits

Author SHA1 Message Date
Alex Tkachman a1582e1911 fix for tests broken by previous commit 2012-04-02 13:40:19 +03:00
Alex Tkachman a4ebbaa1a0 KT-1441 proper identityEquals 2012-04-02 13:32:31 +03:00
Svetlana Isakova 5419b0a3dc Tests fixed after visibility changing 2012-03-30 13:38:36 +04:00
Svetlana Isakova b0e301ae9f Invisible call candidates removed from consideration 2012-03-30 13:38:35 +04:00
Andrey Breslav 320241d107 Proper error reporting when a package name redeclares something, wrt the package name occurring in multiple files
See MultiFilePackageRedeclaration.jet test
2012-03-29 16:18:42 +04:00
Andrey Breslav 0a42abc7c9 KT-1152 Only allow annotation classes to be instantiated as annotations
#KT-1152 Fixed
2012-03-28 19:40:45 +04:00
Andrey Breslav 5776fec84c EA-34595 - ISE: MutableClassDescriptorLite.addSupertype 2012-03-28 18:58:09 +04:00
Svetlana Isakova cd6f3139f0 Changed scope for initializer of extension property /*not to resolve things like val List.length = size() */ 2012-03-28 13:14:35 +04:00
Svetlana Isakova a91a53f7f1 KT-1531 Frontend should prohibit secondary constructors
# KT-1531 Fixed
2012-03-27 17:48:04 +04:00
Svetlana Isakova 7a782d4529 # KT-1571 Fixed. Frontend fails to check val reassigment for operator overloading. 2012-03-27 16:40:10 +04:00
Svetlana Isakova 48250050f8 test for KT-1580 2012-03-27 16:38:30 +04:00
Svetlana Isakova bd5b84e697 # KT-1642 Fixed kotlin subpackages hide Java's toplevel packages 2012-03-27 16:20:59 +04:00
Svetlana Isakova f7cfb36f62 # KT-1579 Fixed Can't import nested class/trait 2012-03-27 16:20:59 +04:00
Andrey Breslav 669126d635 Making compiler exit codes type safe. Fixes the problem with wrong command-line argument usage being missed by the IDE 2012-03-27 12:19:01 +04:00
Alex Tkachman d0e7248ec1 KT-628 !! support 2012-03-26 11:37:40 +02:00
Andrey Breslav dd9c36387c KT-987 Unboxing nulls
#KT-987 Fixed
2012-03-26 11:42:34 +04:00
Stepan Koltsov 8ad5db5bd9 Fix KT-1639: extend JFrame
#KT-1639 Fixed
2012-03-24 20:36:43 +04:00
Andrey Breslav cf108765ae KT-729 Need to support arrays as varargs: front-end checks done
#KT-729 In progress
2012-03-23 22:47:44 +01:00
Andrey Breslav 90e5510b5d Support !!foo as a double-negation 2012-03-23 10:44:52 +01:00
Andrey Breslav 77159a0d8e Fixed the /**/ case. It is now a comment 2012-03-23 10:44:52 +01:00
Andrey Breslav 4cef4ec170 Fixed type checking in the case of
val s : String = !true
2012-03-23 10:44:52 +01:00
Andrey Breslav 7341a82b0b Support for !! (analog of sure()/npe()) 2012-03-23 10:44:51 +01:00
Stepan Koltsov 921b601628 fix serialization of types in Read*BinaryClassTest 2012-03-22 03:46:46 +04:00
Stepan Koltsov 8f889c0cfd fix one test 2012-03-21 19:35:14 +04:00
Andrey Breslav 3a73a96e06 KT-482 Support nested comments: comments nest properly, but strings are not accounted for inside comments
#KT-482 In progress
2012-03-21 15:52:58 +01:00
Stepan Koltsov e2cb98df67 better import jet namespace 2012-03-19 23:25:27 +04:00
Alex Tkachman 56eabfe07b KT-1508 jet.Number -> j.l.Number 2012-03-17 13:57:45 +02:00
Alex Tkachman 6ff783e79b KT-1592 don't write default values for annotations 2012-03-16 15:48:49 +02:00
Svetlana Isakova 114988ac82 KT-1579 "Can't import nested class/trait" partially: Entry can be imported, but Map.Entry in code is still unresolved 2012-03-16 17:09:28 +04:00
Svetlana Isakova 9dc9e9984b KT-1572 Frontend doesn't mark all vars included in closure as refs. 2012-03-14 15:07:33 +04:00
pTalanov f326359bfe KT-1550 Cannot use parenthesized array access expression. 2012-03-14 13:19:02 +04:00
Andrey Breslav 8019357bd5 KT-555 Parse error for generic function invocation
#KT-555 Fixed
2012-03-14 12:51:39 +04:00
Alex Tkachman 5bb7c2122d KT-1538 proper boolean invertion 2012-03-13 15:50:29 +02:00
Alex Tkachman c870eccc4f fix for KT-1515 wrong loading of annotations 2012-03-13 12:28:35 +02:00
Alex Tkachman 9aa992c209 fix for KT-1568 1.javaClass 2012-03-13 09:36:15 +02:00
Stepan Koltsov 3748507ac1 disable +JDK macro in JetDiagnosticsTest and fix (actually hide) revealed bugs
+JDK was not very helpful
2012-03-12 22:54:24 +04:00
Stepan Koltsov 07ff53d456 add trailing newlines to test files
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00
Stepan Koltsov 8be79b3f22 split some tests in JetDiagnosticsTest 2012-03-12 22:53:50 +04:00
Andrey Breslav c315734665 EA-34240 - SIOOBE: CompileTimeConstantResolver.getCharValue 2012-03-12 16:58:01 +04:00
Stepan Koltsov 0c2b91aa10 KT-1536: parse Throwable as nullable in JavaDescriptorResolver 2012-03-11 15:24:46 +04:00
Svetlana Isakova c857785910 KT-1002 If there's no return in function highlight only last token but not last statement 2012-03-09 12:20:10 +04:00
Svetlana Isakova e9a7a909f6 KT-1402 Create new Kotlin object from a Java public static inner class 2012-03-07 12:09:03 +04:00
Stepan Koltsov c2026b89b8 missing test in ReadJavaBinaryClassTest 2012-03-07 04:07:10 +04:00
Svetlana Isakova b6161cb41b Bug with wrong 'anonymous initializer without constructor' fixed 2012-03-05 17:05:36 +04:00
James Strachan eb3aac9acb refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now) 2012-03-03 12:11:06 +00:00
Stepan Koltsov 1e92594e99 better member sorting in Read*BinaryClassTest 2012-03-03 00:19:32 +04:00
Stepan Koltsov 16917dea4f fix prop modality reading from class files 2012-03-02 23:18:50 +04:00
Stepan Koltsov c9e3891a5e fix test 2012-03-02 21:25:18 +04:00
Stepan Koltsov 99249c65da properly read constructor with default params from bytecode 2012-03-02 20:49:13 +04:00
Stepan Koltsov c15bd2f75d KT-1490 serialization of constructor parameters 2012-03-02 20:43:47 +04:00