Commit Graph

855 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 05fd46009d Replaced diagnostic factories so they show type FQ names instead of short names.
#KT-1137 fixed
2012-04-08 22:45:07 +04:00
Nikolay Krasko 4ec080f71f KT-1666 Invoking "Go to Declaration" for String type offers two variants - Temp boring fix
#KT-1666 fixed
2012-04-08 20:38:11 +04:00
Evgeny Gerashchenko aec021e668 Implemented better rendering for parameters with default values in decompiler and descriptor renderer.
#KT-1582 fixed
2012-04-08 19:59:53 +04:00
Evgeny Gerashchenko 0d84a045ee Minor: added @NotNull annotations from interfaces. 2012-04-08 19:42:46 +04:00
Stepan Koltsov 7aeded2522 more fqname utils 2012-04-08 05:39:43 +04:00
Stepan Koltsov 0417df6429 initialize ANY_NULLABLE without cyclic dependencies
between <clinit> of ErrorUtils and JetStandardClasses
2012-04-07 06:32:20 +04:00
Stepan Koltsov 3ba2aa91fd simple revursion check in scope 2012-04-07 06:32:19 +04:00
Svetlana Isakova cd1221b1b2 fix in 'protected' visibility check 2012-04-06 20:42:51 +04:00
Svetlana Isakova 63af29fedb do not create fake descriptors when override private functions 2012-04-06 20:42:51 +04:00
Svetlana Isakova 2de69d8cd8 stop resolution if ambiguity is found 2012-04-06 20:42:51 +04:00
Evgeny Gerashchenko da9973a822 Added rendering visibility in DescriptorRenderer. 2012-04-06 20:04:57 +04:00
Evgeny Gerashchenko c21e3b837a Added rendering annotation class. 2012-04-06 17:26:09 +04:00
Nikolay Krasko 4d19fd05b1 KT-1702 Renaming file causes "Operation not supported" and invalid imports
(Rename problem was caused because of invalid reference to file from package. Fix contains:
 - Change structure of references in package expression - last part is also a reference now
 - Resolve packages to expression but not to files)

  #KT-1702 fixed
2012-04-06 14:46:23 +04:00
Svetlana Isakova 1372d70466 tests for incomplete code exceptions 2012-04-06 11:56:37 +04:00
Svetlana Isakova 8d5965649b NPE on incomplete code from EA 2012-04-06 11:49:45 +04:00
Svetlana Isakova 7863b1398e Resolve invisible references and mark them 'invisible' instead of mark them 'unresolved' 2012-04-05 18:36:46 +04:00
Svetlana Isakova 0d462bf0bf 'private' package members should be visible for subpackages 2012-04-04 19:02:26 +04:00
Svetlana Isakova fbffbc541a Added primary constructor parameters (that are properties) visibility check 2012-04-04 14:36:56 +04:00
Svetlana Isakova 9b2eeb076e KT-1717 Don't make member visibility inherit when it is not declared explicitly
#KT-1717 Fixed
2012-04-03 19:26:28 +04:00
Svetlana Isakova e9788c12d9 member visibility inheritance; check visibility is not weaken added 2012-04-03 16:36:00 +04:00
Svetlana Isakova f64920246a visibility can be set only after resolve overridden members, so method 'setVisibility' was separated 2012-04-03 16:36:00 +04:00
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