Stepan Koltsov
a43c0c19a8
assert builtins do not reference java.* classes
2012-04-08 02:08:26 +04:00
Stepan Koltsov
3e9ef572ea
hide another map from JavaTypeTransformer
2012-04-08 02:08:25 +04:00
Stepan Koltsov
4aec67a1c6
again: do not include jdk headers when compiling jdk headers
2012-04-08 02:08:25 +04:00
Stepan Koltsov
74e0bd85f5
remove useless and wrong code
...
unfortunately I couldn't write test that proves this code is wrong
2012-04-08 02:08:25 +04:00
Stepan Koltsov
16f333af9f
ReadKotlinBinaryClassTest: override val test
2012-04-08 02:08:24 +04:00
Stepan Koltsov
20f98d554c
JDR: better loop check
...
(using JetJavaMirrorMaker)
... and fix test
... and remove junk code
2012-04-07 23:40:38 +04:00
Stepan Koltsov
2bc305bddf
store ResolverScopeData in Java*Scope
2012-04-07 23:16:48 +04:00
Stepan Koltsov
6a68de9a8b
useless class
2012-04-07 23:16:48 +04:00
Stepan Koltsov
b9d0363d57
properly cache JavaPackageScope
2012-04-07 23:16:48 +04:00
Stepan Koltsov
92ae9698e3
JavaDescriptorResolver: kill namespace cache by psi
2012-04-07 23:16:47 +04:00
Stepan Koltsov
c653622033
JavaPackageScope refactoring
...
* store PsiClass and PsiPackage inside
* do not create if there's no PsiClass or PsiPackage
2012-04-07 23:16:47 +04:00
Stepan Koltsov
7bcb682180
useless logger field
2012-04-07 23:16:47 +04:00
Stepan Koltsov
d969d8e18f
fix test (disable assertion)
2012-04-07 23:16:47 +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
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