Commit Graph

1619 Commits

Author SHA1 Message Date
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
Stepan Koltsov 498d444a0a do not expose map 2012-04-07 06:32:19 +04:00
Stepan Koltsov 8623361e22 more FqName instead of String 2012-04-07 06:32:19 +04:00
Stepan Koltsov 9e9d60e02a remove unused code 2012-04-07 06:32:19 +04:00
Stepan Koltsov 3d863a6b37 diag 2012-04-07 06:32:18 +04:00
Stepan Koltsov b38e171812 MapTypeMode and properly map builtins
used in JetTypeMapper in JetTypeMapper

* MapTypeMode contains no information not needed by JetTypeMapper
* MapTypeMode has separate VALUE and IMPL values that are needed to compile builtins
2012-04-07 06:32:18 +04:00
Stepan Koltsov d8e86b12aa CompileStdlibTest 2012-04-07 06:32:18 +04:00
Stepan Koltsov 157633e371 useful assertions in backend 2012-04-07 06:32:17 +04:00
Stepan Koltsov 9b120184f5 make AltClassFinder parameterized
(class will be reused to find builtins)
2012-04-07 06:32:17 +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 f6d8771f79 Added vararg parameter and parameter with default value to DescriptorRendererTest. 2012-04-06 20:04:57 +04:00
Evgeny Gerashchenko 83bd57184d Added test cases for classes, its members, function and tuple types to DescriptorRendererTest. 2012-04-06 20:04:57 +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
Evgeny Gerashchenko 2c3ff4357e Added simple DescriptorRendererTest checking for global functions and properties. 2012-04-06 17:24:30 +04:00
Evgeny Gerashchenko 9794c0f730 Extracted getting test metadata from comment lines from LibrariesWithSourcesTest to JetTestUtils. 2012-04-06 17:22:24 +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
James Strachan 92df93a9db enabled multiple source directories in the KotlinCompiler (we should refactor later to remove src - wanted to minimise breaking things first though :) 2012-04-05 15:46:01 +01: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 0ec24f5e3d test fix 2012-04-04 19:02:26 +04:00
Svetlana Isakova 5520e1a2b0 'AbstractStringBuilder' has package private, so cannot be used in tests 2012-04-04 19:02:26 +04:00
Svetlana Isakova 2c0cee61fa Added 'package' visibility for Java descriptors 2012-04-04 19:02:26 +04:00
Svetlana Isakova 0d462bf0bf 'private' package members should be visible for subpackages 2012-04-04 19:02:26 +04:00
Svetlana Isakova ac0fd05463 test for:
#KT-323 Fixed Handle visibility interactions with overriding
2012-04-04 14:36:57 +04:00
Svetlana Isakova 2577683ce8 tests for:
#KT-1248 Fixed Control visibility of overrides needed
#KT-37 Fixed Typechecker doesn't complain about accessing non-public property
2012-04-04 14:36:57 +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
Leonid Shalupov a8d6fb98f9 KotlinCompiler: split classpath by pathSeparator before adding to environment 2012-04-03 16:14:51 +04:00
Stepan Koltsov dd29cb0509 generate help with library 2012-04-03 00:29:07 +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
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 3bae350829 'isSubclass' method refactoring: not collecting all supertypes 2012-04-02 13:15:38 +04:00
Alex Tkachman 9d752561eb almost full support for annotations 2012-04-01 21:50:01 +03:00
Alex Tkachman b5114d5f86 NPE fixed 2012-04-01 10:01:34 +03:00
Alex Tkachman 0cb26b0566 more annotations 2012-03-31 16:14:32 +03:00
Alex Tkachman 8ed9a89d9e intrinsics for array constructors (half way for array annotations) 2012-03-30 18:40:56 +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