Commit Graph

9648 Commits

Author SHA1 Message Date
Jack Zhou a5cecd6048 Added quickfix for VAR_OVERRIDDEN_BY_VAL. 2013-02-13 14:22:54 +04:00
Maxim Shafirov 7231606eb2 Make sure files don't get overwritten if someone mixes generated and normal stdlib sources in one folder during build. 2013-02-13 13:59:29 +04:00
Maxim Shafirov 15446e98b8 Fix tests failing after stdlib generation refactoring 2013-02-13 12:41:12 +04:00
Maxim Shafirov 24d99eb33f adopt to broken inference 2013-02-13 12:41:12 +04:00
Maxim Shafirov 620aae28d0 Collections standard library is now generated from templates. 2013-02-13 12:41:12 +04:00
Peter Tseng 324a39d10b Add quickfix for PACKAGE_MEMBER_CANNOT_BE_PROTECTED 2013-02-13 11:54:16 +04:00
Agnieszka Paszek b52036c549 Added quickfix for ILLEGAL_ENUM_ANNOTATIONS 2013-02-13 11:47:24 +04:00
Agnieszka Paszek 9e08087a11 Added quickfix for OPEN_MODIFIER_IN_ENUM 2013-02-13 11:47:02 +04:00
Kevin F. Chen 42b7b7e221 Added quickfix for NULLABLE_SUPERTYPE 2013-02-13 11:32:37 +04:00
Andrey Breslav 3293e08d97 Compiler API refactored:
* exec(messageCollector, arguments) introduced
* exception-catching logic moved closer to the entry point
* PrintingMessageCollector localized
2013-02-13 11:03:27 +04:00
Jack Zhou cf87f55085 Added quickfix for VARIANCE_ON_TYPE_PARAMETER_OF_FUNCTION_OR_PROPERTY. 2013-02-13 11:03:27 +04:00
Evgeny Gerashchenko e96d8ef475 Fixed test. 2013-02-12 19:06:44 +04:00
Jack Zhou 9692921128 Added quickfix for INCOMPATIBLE_MODIFIERS. 2013-02-12 19:03:57 +04:00
Andrey Breslav c86f0de79f Typos fixed 2013-02-12 18:02:44 +04:00
Andrey Breslav 5cf17f089f Not using flags in NullableLazyValue, no extra objects in MemoizedFunctionToNullable 2013-02-12 18:01:30 +04:00
Andrey Breslav 4ffca364ba Formatting 2013-02-12 15:24:41 +04:00
Andrey Breslav b04110e3a9 Explicit interfaces for memoized functions 2013-02-12 15:22:11 +04:00
Andrey Breslav 6e61ada816 NullableLazyValue and NotNullLazyValue introduced 2013-02-12 15:10:25 +04:00
Andrey Breslav d276837833 Make LazyValue extend Computable 2013-02-12 14:48:49 +04:00
Andrey Breslav 4a17a7ef26 'storage' package created 2013-02-12 14:48:49 +04:00
Andrey Breslav 7e8a753be2 'descriptors' package created 2013-02-12 14:48:48 +04:00
Andrey Breslav 8d92b8a42a 'declarations' package created 2013-02-12 14:48:48 +04:00
Andrey Breslav fb87a560fb KotlinCodeAnalyzer interface extracted 2013-02-12 14:48:48 +04:00
Andrey Breslav a3667d1b28 Rename 2013-02-11 22:19:44 +04:00
Andrey Breslav 3e0ead494e Infinite recursion prevented on cyclic class hierarchies 2013-02-11 22:19:43 +04:00
Andrey Breslav 71bad95783 No lazy values stored for memoized functions with non-null values 2013-02-11 22:19:43 +04:00
Andrey Breslav 98dba29ab0 Redeclaration handling in lazy scopes 2013-02-11 22:19:43 +04:00
Andrey Breslav fd8da79b88 Getting rid of createConcurrentCollection in favor of lazy values 2013-02-11 22:19:42 +04:00
Andrey Breslav 6f851845c6 createConcurrentMap() is no longer needed 2013-02-11 22:19:42 +04:00
Andrey Breslav ccbd4018b1 Migrating to memoized functions and nullable lazy values 2013-02-11 22:19:34 +04:00
Andrey Breslav 7ddadd9a6c Thread-safe ScopeProvider 2013-02-11 22:15:55 +04:00
Andrey Breslav ea46cf819f Nullable lazy values and memoized functions supported 2013-02-11 22:15:55 +04:00
Andrey Breslav 961429831c StorageManager can create thread-safe memoized functions 2013-02-11 22:15:55 +04:00
Andrey Breslav c4ab5a852f Thread-safe lazy values introduced into FilteringClassLikeInfo 2013-02-11 22:15:54 +04:00
Andrey Breslav 8a240e82bd Thread-safe lazy values introduced into LazyClassDescriptor 2013-02-11 22:15:54 +04:00
Andrey Breslav 59b78e3628 Lazy member scopes are now thread-safe.
NOTE: in this implementation there will be exceptions from rewrites on the trace.
2013-02-11 22:15:54 +04:00
Andrey Breslav 1cac7c1a41 LazyTypeParameterDescriptor made thread-safe 2013-02-11 22:15:53 +04:00
Andrey Breslav 439624e616 Unused class deleted 2013-02-11 22:15:53 +04:00
Andrey Breslav 0cf272eda7 Double-checked locking implementation fixed 2013-02-11 22:15:53 +04:00
Andrey Breslav c595d95ee0 Common code extracted to a method 2013-02-11 17:25:37 +04:00
Andrey Breslav 51f7110961 Common functionality moved up 2013-02-11 17:25:37 +04:00
Andrey Breslav 109c47645b Make sure that the class object class is not accessible from Kotlin 2013-02-11 16:20:32 +04:00
Andrey Breslav 766a33aaa1 Assertion fixed 2013-02-11 16:18:22 +04:00
Nikolay Krasko b61bdcd67d Remove extension toArray() 2013-02-11 16:09:26 +04:00
Nikolay Krasko 9f1e808255 Remove dangling commas from generated tests 2013-02-11 16:09:25 +04:00
Nikolay Krasko 9dedc6d2a9 KT-1998 Strange "Overload resolution ambiguity"
#KT-1998 Fixed
2013-02-11 16:09:24 +04:00
Nikolay Krasko 54ae3afcde KT-880 Overload resolution ambiguity
#KT-880 Fixed
2013-02-11 16:09:23 +04:00
Mikhael Bogdanov c61c8d7fa0 Compilation Exception - remove duplicated this on stack
#KT-3114 Fixed
2013-02-11 15:19:49 +04:00
Alexander Udalov c7e512a38a Correct Android SpecialFiles
Replace all multi-file tests and tests with java with an exclusion of
these directories. Delete obsolete exclusions, add a new one
2013-02-11 03:32:56 +04:00
Alexander Udalov 620143ae5b Add test on bytecode text
Test data should be a Kotlin source file with zero or more comments e.g. of
the form: '// 1 INVOKEVIRTUAL'. The test then checks that the generated
bytecode for this file contains exactly one occurrence of the string
'INVOKEVIRTUAL'
2013-02-11 02:01:43 +04:00