Commit Graph

834 Commits

Author SHA1 Message Date
Svetlana Isakova 31cf0ce736 added name, order to visibilities 2012-04-03 16:36:00 +04:00
Svetlana Isakova c47e3957a7 return type can be omitted when override 2012-04-03 16:36:00 +04:00
Svetlana Isakova 4d37672809 added classes visibility check 2012-04-02 15:37:09 +04:00
Svetlana Isakova e364fe4259 public methods in private classes visibility check 2012-04-02 15:37:09 +04:00
Alex Tkachman ffbce7fe1e KT-1589: Array<T>(size) renamed to arrayOfNulls 2012-04-02 14:30:37 +03:00
Svetlana Isakova 3bae350829 'isSubclass' method refactoring: not collecting all supertypes 2012-04-02 13:15:38 +04:00
Alex Tkachman 0cb26b0566 more annotations 2012-03-31 16:14:32 +03:00
Svetlana Isakova 4f30e12177 fixes after merge 2012-03-30 13:38:36 +04:00
Svetlana Isakova c961613cf8 returned right type if there was only one failed candidate property 2012-03-30 13:38:36 +04:00
Svetlana Isakova 167a9c444a Added 'public' annotation and specified return types for library functions 2012-03-30 13:38:35 +04:00
Svetlana Isakova aefabd132e Added 'package member cannot be protected' error 2012-03-30 13:38:35 +04:00
Svetlana Isakova b0e301ae9f Invisible call candidates removed from consideration 2012-03-30 13:38:35 +04:00
Svetlana Isakova 13173f75b5 Added 'local' visibility to local descriptors 2012-03-30 13:38:35 +04:00
Svetlana Isakova 3c5d4f6857 'isVisible' strategy added to Visibility interface 2012-03-30 13:38:35 +04:00
Svetlana Isakova 7df4e6728b 'isSubClass' method moved to DescriptorUtils 2012-03-30 13:38:35 +04:00
Stepan Koltsov 2c4094f4d4 proper environment when compiling special things
* do not include anything when compiling builtins
* do not include kotlin-runtime and jdk-headers when compiling jdk-headers
2012-03-30 03:54:58 +04:00
Stepan Koltsov 3ee7bcee25 diag in DeclarationResolver 2012-03-30 02:35:09 +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 0ae59df0b1 A little renaming to make code more clear 2012-03-29 16:17:43 +04:00
Stepan Koltsov 12c27d42c2 remove outdated comment 2012-03-28 23:56:37 +04:00
Stepan Koltsov 6488d65259 rename method 2012-03-28 23:56:33 +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 25a972cd80 Removing the unnecessary class 2012-03-28 19:04:17 +04:00
Andrey Breslav 5776fec84c EA-34595 - ISE: MutableClassDescriptorLite.addSupertype 2012-03-28 18:58:09 +04:00
Andrey Breslav a89f6a2710 Fixing EA-35207 - assert: JetCompiler$CompilerProcessListener$CompilerMessage.reportTo 2012-03-28 18:58:09 +04:00
Andrey Breslav 7714f84dd8 KT-222 Grammar Docu of objectLiteral slightly wrong
#KT-222 Fixed
2012-03-28 16:48:31 +04:00
Andrey Breslav 32e1018ace KT-219 Grammar issue in delegationSpecifier
#KT-219 Fixed
2012-03-28 16:42:16 +04:00
Pavel V. Talanov 582259ffda Support for inline in front-end. Add SimpleFunctionDescriptor#isInline. 2012-03-28 14:25:09 +04:00
Andrey Breslav 25323d560d Better assertion messages in TypeParameterDescriptor 2012-03-28 13:15:13 +04:00
Andrey Breslav 98887a09d1 Generating Kotlin sources for functions and tuples 2012-03-28 13:15:13 +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
Nikolay Krasko 6964147e44 KT-1648 Function0<Tuple0> appears in the result of the Implement abstract members quick fix
#KT-1648 fixed
2012-03-27 22:11:07 +04:00
Nikolay Krasko 80b251983c KT-1379 Override Methods does not respect caret position
#KT-1379 fixed
2012-03-27 19:46:12 +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 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
Stepan Koltsov f3f76ab01d we have no typeinfo 2012-03-27 00:27:33 +04:00
Stepan Koltsov bc17c7b4f3 injector to analyze js 2012-03-26 17:42:04 +04:00
Stepan Koltsov 7836e44e70 Temporarily revert "kill JavaNamespaceDescriptor"
This reverts commit 3c45a1d60e.

This commit breaks compilation of jdk-headers. Explanation:

1. TopDownAnalyzer creates namespace java.util from sources
2. TopDownAnalyzer creates class Map in java.util
3. TopDownAnalyzer processes import java.util.Map.Entry
4. JavaDescriptorResolver resolves namespace java.util.Map
5. java.util.Map namespace is added to java.util namespace
6. redeclaration handler of namespace java.util crashes on Map
2012-03-24 02:23:30 +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
Stepan Koltsov 3c45a1d60e kill JavaNamespaceDescriptor 2012-03-23 23:44:20 +04:00
Stepan Koltsov 8517fe6878 store namespace kind in trace, kill some JavaNamespaceDescriptor usages
JavaNamespaceDescriptor will be killed soon
2012-03-23 23:44:16 +04:00
Andrey Breslav d27138e252 An exception fixed 2012-03-23 18:11:43 +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 73baa8b65d Eliminate unneeded temporary trace 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