Andrey Breslav
557fdfcd56
Testing builtins' serialization
2013-08-23 17:38:59 +04:00
Andrey Breslav
af415d160f
Allow rendering Any in all positions and using Function0 etc instead of "() -> ..."
2013-08-23 17:38:59 +04:00
Andrey Breslav
5b8d41cc36
Utilities
2013-08-23 17:38:59 +04:00
Andrey Breslav
7fb5316a3a
Dependency on ClassResolver moved to TypeDeserializer
2013-08-23 17:38:58 +04:00
Andrey Breslav
0c49940356
Dependency on ClassResolver moved to TypeDeserializer
2013-08-23 17:38:58 +04:00
Andrey Breslav
b38c5b9d08
Outer classes are properly computed
2013-08-23 17:38:58 +04:00
Andrey Breslav
b536b3961e
getName()/getFqName() -> asString()
2013-08-23 17:38:58 +04:00
Andrey Breslav
b90522b223
Namer added to abstract over naming conventions on different platforms
2013-08-23 17:38:57 +04:00
Andrey Breslav
347e2c27aa
Using FqNameUnsafe for relative class names
2013-08-23 17:38:57 +04:00
Andrey Breslav
699d5acd36
toString() for deserialized classes
2013-08-23 17:38:57 +04:00
Andrey Breslav
7f2f3a60a7
Object descriptors added
2013-08-23 17:38:57 +04:00
Andrey Breslav
c397a84040
Support deserializing special names
2013-08-23 17:38:56 +04:00
Andrey Breslav
d04865cea3
Using ClassId instead of FqName
2013-08-23 17:38:56 +04:00
Andrey Breslav
bb27d5c283
Class resolution simplified (effectively dead code eliminated)
2013-08-23 17:38:56 +04:00
Andrey Breslav
930217c877
Interner fixed: looks item up in parent first
2013-08-23 17:38:56 +04:00
Andrey Breslav
6481bb658f
Do not skip names of error classes
2013-08-23 17:38:56 +04:00
Andrey Breslav
655db3ca44
Value parameters flags supported
2013-08-23 17:38:55 +04:00
Andrey Breslav
2e978950ab
Primary constructors supported
2013-08-23 17:38:55 +04:00
Andrey Breslav
4c689bc328
Better processing of upper bounds
2013-08-23 17:38:55 +04:00
Andrey Breslav
2a928a2bfe
Support properties in serialized classes
2013-08-23 17:38:55 +04:00
Andrey Breslav
c610695612
Flags supported for classes and their members
2013-08-23 17:38:54 +04:00
Andrey Breslav
babb1a14d5
Better support for error types
2013-08-23 17:38:54 +04:00
Andrey Breslav
cff59a925b
Support fake overrides
2013-08-23 17:38:54 +04:00
Andrey Breslav
ae4a3942df
toString() for types
2013-08-23 17:38:54 +04:00
Andrey Breslav
6be5ecc666
toString(JetType) extracted
2013-08-23 17:38:53 +04:00
Andrey Breslav
b9283f0afc
Do not serialize fake overrides
2013-08-23 17:38:53 +04:00
Andrey Breslav
5eb33372ae
Initial version of (de)serialization test
2013-08-23 17:38:53 +04:00
Andrey Breslav
915b0b79a3
Initial implementation of (lazy) deserialized class descriptor
2013-08-23 17:38:53 +04:00
Andrey Breslav
e59b4d1564
Storing only names of nested classes/objects
2013-08-23 17:38:53 +04:00
Andrey Breslav
42cc953aa8
Provide more services from descriptor deserializer
2013-08-23 17:38:52 +04:00
Andrey Breslav
364ed19c4b
Simple implementations for lazy values and memoized functions
2013-08-23 17:38:52 +04:00
Andrey Breslav
c1cef019ce
More low-level constructor added
2013-08-23 17:38:52 +04:00
Andrey Breslav
d4ac312142
Account for circular bounds in type parameters
2013-08-23 17:38:52 +04:00
Andrey Breslav
85dad7866d
Lazy types
2013-08-23 17:38:51 +04:00
Andrey Breslav
8018f186e5
Overloaded constructor for convenience
2013-08-23 17:38:51 +04:00
Andrey Breslav
2789c2a785
Static import
2013-08-23 17:38:51 +04:00
Andrey Breslav
96db819832
Extracted IndexedSymbolTable and TypeDeserializer
2013-08-23 17:38:51 +04:00
Andrey Breslav
1e345b58f7
Serializing basic descriptors
2013-08-23 17:38:51 +04:00
Andrey Breslav
a0895e9046
Serializing/Deserializing simple and qualified names
2013-08-23 17:38:50 +04:00
Andrey Breslav
099b3ffc9f
Initial protobuf definition for descriptor serialization
2013-08-23 17:38:50 +04:00
Andrey Breslav
e85871861a
New module for descriptor serialization code
2013-08-23 17:38:50 +04:00
Andrey Breslav
187bf8abfe
Avoid calling getClass() in equals(). It disturbs profiling
2013-08-23 17:38:50 +04:00
Nikolay Krasko
450d6cad3b
Don't memoize exceptions in built-ins resolve session
2013-08-22 21:16:57 +04:00
Andrey Breslav
55eb994502
KT-3919 Automatic labeling of lambdas by receiving functions
...
#KT-3919 Fixed
2013-08-22 14:27:01 +04:00
Andrey Breslav
07a8dff5f4
Fix builtins dir lookup for the case where there's no directory entry in the JAR file
2013-08-22 14:02:51 +04:00
Andrey Breslav
96335b2e71
Do not look for a common supertype if there is only one type in the worklist
2013-08-22 12:18:12 +04:00
Andrey Breslav
a51ea10f55
No need to produce error types when RETURN_NOT_ALLOWED_EXPLICIT_RETURN_TYPE_REQUIRED is reported
2013-08-21 20:12:05 +04:00
Andrey Breslav
08625a6b2f
Local returns are only allowed with explicitly specified return types
...
This is a temporary limitation: otherwise type inference is having trouble to account for all the returned expressions.
We will fix the inference and remove the limitation
2013-08-21 20:12:04 +04:00
Andrey Breslav
d97506476f
Minor. Local variable renamed
2013-08-21 20:12:04 +04:00
Andrey Breslav
4138ac4e36
Support local returns in lambdas
2013-08-21 20:12:04 +04:00