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
Svetlana Isakova
5419b0a3dc
Tests fixed after visibility changing
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
Stepan Koltsov
ec367a0bf0
merge copy-paste after excessive inline in e6fda5
2012-03-29 23:39:01 +04:00
Maxim Shafirov
060be0a8f8
Refactor dependencies, so jet-as-java might be used in cli.
2012-03-29 21:18:35 +04:00
Stepan Koltsov
e6fda5b3d3
minor codegen refactoring
...
* cleanup after yesterday
* remove BindingContext stack in GenerationState
* use more power and strength of di
TODO: also initialize GenerationState by DI
2012-03-29 19:47:50 +04:00
James Strachan
d76454ce08
merged with Andrey's changes
2012-03-29 16:40:44 +01:00