Evgeny Gerashchenko
|
4fd520f2ea
|
Updated test data for some of lazy resolve tests.
|
2012-06-16 19:38:20 +04:00 |
|
Evgeny Gerashchenko
|
bf2a31b877
|
Replaced text descriptor renderer with html for types in RETURN_TYPE_MISMATCH_ON_OVERRIDE
|
2012-06-16 19:38:20 +04:00 |
|
Evgeny Gerashchenko
|
052a6f3cb9
|
Made Iterable.iterator() public in jdk-headers.
|
2012-06-16 19:38:19 +04:00 |
|
Evgeny Gerashchenko
|
f38191682f
|
Fixed LibrariesWithoutSourcesTest after correcting loading of 'internal' visibility from bytecode.
|
2012-06-16 19:38:19 +04:00 |
|
Evgeny Gerashchenko
|
70a8151e87
|
Regenerated test data for ReadJavaBinaryClassTest.
|
2012-06-16 19:38:19 +04:00 |
|
Evgeny Gerashchenko
|
da1aceb090
|
Fixed test data for ReadJavaBinaryClassTest, avoiding "package" visibility.
|
2012-06-16 15:39:36 +04:00 |
|
Evgeny Gerashchenko
|
c389264a21
|
Regenerated test data for ReadKotlinBinaryClassTest.
|
2012-06-16 15:39:36 +04:00 |
|
Evgeny Gerashchenko
|
07109dc8ba
|
Modified NamespaceComparator, so it also checks for visibilities and for getter/setter visibilities. This broke a lot of tests, which will be fixed in next commits.
|
2012-06-16 15:39:36 +04:00 |
|
Evgeny Gerashchenko
|
4ed7404714
|
Since primary constructor is always present in class, generating "hidden" mark by backend is removed.
|
2012-06-16 15:39:36 +04:00 |
|
Evgeny Gerashchenko
|
177d6adb30
|
Added reading constructor visibility from compiled code.
|
2012-06-16 15:39:36 +04:00 |
|
Evgeny Gerashchenko
|
b027e260a9
|
Backend now generates constructor visibility properly. Kotlin flags generation is added, too.
|
2012-06-16 14:36:38 +04:00 |
|
Evgeny Gerashchenko
|
1e7be51d49
|
Minor: added @NotNull annotation.
|
2012-06-16 14:36:38 +04:00 |
|
Evgeny Gerashchenko
|
e75f9aee53
|
Added "flags" field to JetConstructor property.
|
2012-06-16 14:36:37 +04:00 |
|
Evgeny Gerashchenko
|
773cfbaec5
|
DescriptorRenderer should render visibility for constructors.
|
2012-06-16 14:36:37 +04:00 |
|
Evgeny Gerashchenko
|
075f0bb4b9
|
Setter should not be created for val property defined in class constructor.
|
2012-06-16 14:36:37 +04:00 |
|
Evgeny Gerashchenko
|
b545aa779e
|
JavaDescriptorResolver is processing visibility flags from annotations (so 'JVM public' members which are actually internal are loaded correctly).
|
2012-06-16 14:36:37 +04:00 |
|
Evgeny Gerashchenko
|
4f892563f7
|
Reformatted JavaDescriptorResolver a little bit.
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
78393b766d
|
Added PsiAnnotationWithFlags interface uniting JetClassAnnotation and JetMethodAnnotation.
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
e26d7fb75e
|
Added method converting int to BitSet to BitSetUtils.
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
5541488ca0
|
Added BitSetUtils and method converting BitSet to int.
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
cfd56b4c2a
|
Fixed backend visibility modifiers for internal classes. They still are public in JVM, but have special flag.
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
18db494bc1
|
Added 'flags' field to JetClass annotation.
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
96a35f9793
|
Changed comment in JetMethod.flags()
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
769d4ad2f0
|
Renamed JET_METHOD_FLAG* to FLAG* since they will be used not only in JetMethod annotation, but in JetClass, too.
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
9f45e7cc08
|
Fixed visibility generated by backend for internal members. Now they are public in JVM, but have special flag in annotation.
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
221e412ba7
|
Visibilities of property accessors were not resolved for properties overriding others. They had "internal" visibility after analysis passed.
|
2012-06-16 14:36:05 +04:00 |
|
Evgeny Gerashchenko
|
370f648140
|
Made JetMethodAnnotationWriter.writeFlags(BitSet) back public, since it is more convenient.
|
2012-06-16 14:36:05 +04:00 |
|
James Strachan
|
7b71e192ec
|
Merge pull request #78 from zolotov/reduce-function-implementation
Implement reduce and reduceRight functions
|
2012-06-16 03:31:59 -07:00 |
|
James Strachan
|
895b49d509
|
added better error messages and test case names for the JUnit running of QUnit tests
|
2012-06-16 08:25:32 +01:00 |
|
Stepan Koltsov
|
5e2521046c
|
add JetScope.getAllDescriptors for KDoc
|
2012-06-16 07:34:35 +04:00 |
|
Stepan Koltsov
|
65b74a19b4
|
use the power of DescriptorPredicate in completion
|
2012-06-16 06:44:17 +04:00 |
|
Stepan Koltsov
|
010db0495b
|
smarter JavaClassOrPackageScope#getAllDescriptors
|
2012-06-16 06:44:16 +04:00 |
|
Stepan Koltsov
|
a87f3e2a45
|
jdr: merge resolveMethod* methods, use DescriptorPredicate
|
2012-06-16 06:44:16 +04:00 |
|
Stepan Koltsov
|
4d229144cf
|
smarter WritableScopeImpl.getAllDescriptors
|
2012-06-16 06:44:15 +04:00 |
|
Stepan Koltsov
|
3a9f6c0928
|
DescriptorMatcher
|
2012-06-16 06:44:15 +04:00 |
|
Stepan Koltsov
|
7116beb95a
|
JetScope.get* return Collection, not Set
|
2012-06-16 06:44:12 +04:00 |
|
Stepan Koltsov
|
45990f4beb
|
better exception in test
|
2012-06-16 04:52:32 +04:00 |
|
Alexander Zolotov
|
6b13f35206
|
Implement reduce and reduceRight functions
- move arrays reduce tests
|
2012-06-16 03:43:55 +04:00 |
|
Stepan Koltsov
|
4d4a70cb83
|
test what happens if function is imported two times
|
2012-06-16 02:45:59 +04:00 |
|
Stepan Koltsov
|
c64dd90087
|
WritableScopeImpl should not check descriptor uniqueness
|
2012-06-16 02:45:56 +04:00 |
|
Stepan Koltsov
|
8b83c3f7cf
|
descriptors in WritableScopeImpl are not ordered
|
2012-06-16 02:45:52 +04:00 |
|
Alexander Zolotov
|
0043454a06
|
Implement reduce and reduceRight functions
|
2012-06-16 02:37:48 +04:00 |
|
Stepan Koltsov
|
4657567484
|
check state in WriteableScopeImpl
(nothing is written to allDescriptor after getAllDescriptors fetched)
|
2012-06-16 02:24:11 +04:00 |
|
Stepan Koltsov
|
5f1f854293
|
JavaDescriptorResolver: resolve constructors lazily
This speeds up analyze a bit (profiler shown about 10% of time
spent in constructor resolver during completion in KDoc).
|
2012-06-16 00:22:23 +04:00 |
|
Stepan Koltsov
|
8d1ef3ee6b
|
frontend: do not set FunctionDescriptorImpl.returnValue more than once
|
2012-06-16 00:22:23 +04:00 |
|
Stepan Koltsov
|
3fd757e097
|
ClassDescriptor.getConstructor returns Collection
|
2012-06-16 00:22:23 +04:00 |
|
Stepan Koltsov
|
0b697847b2
|
ClassDescriptorFromSoruce
getUnsubstitutedPrimaryConstructor is needed only when analyzing source.
Primary constructor only exists in source code.
|
2012-06-16 00:22:22 +04:00 |
|
Stepan Koltsov
|
2a91e15384
|
KDocSmallTest
|
2012-06-16 00:22:22 +04:00 |
|
Stepan Koltsov
|
a65bb5b060
|
kdoc: fix generated by strings
|
2012-06-16 00:22:22 +04:00 |
|
James Strachan
|
965c433421
|
add a junit and selenium based test case of the JS compiled version of the kotlin standard ilbrary test cases
|
2012-06-15 21:09:56 +01:00 |
|