Commit Graph

7663 Commits

Author SHA1 Message Date
Andrey Breslav fc90c775e9 KT-2730 AssertionError at org.jetbrains.jet.codegen.AnnotationCodegen.genAnnotations(AnnotationCodegen.java:86)
#KT-2730 Fixed
2012-09-06 15:31:59 +04:00
Natalia 1441f742bb Android test: tests with mock jdk now run with jdk annotations 2012-09-06 12:44:49 +04:00
Nikolay Krasko a96474845b Fix check of path separators in tests 2012-09-06 12:02:44 +04:00
Nikolay Krasko 8666b7d34b Increase readability of string generation with String.format() 2012-09-06 12:01:47 +04:00
Nikolay Krasko cc9634c2b2 EA-38862 Fixed - Update getSpacing for dealing with first nullable parameter in new IDEA 2012-09-06 00:00:54 +04:00
Nikolay Krasko c587a1375f KT-112 Cannot rename a class on a constructor call site
#KT-112 Obsolete
2012-09-06 00:00:53 +04:00
Alexander Udalov 34eade6f4f Rename println() method to prevent name collisions with the existing vararg method 2012-09-05 19:39:26 +04:00
Svetlana Isakova 38fec5e4cb introduced static map for asm type constants 2012-09-05 18:55:19 +04:00
Svetlana Isakova ef490ba8f1 test fixed after merge 2012-09-05 18:55:19 +04:00
Svetlana Isakova bdf189ed71 fixes after merge
(added module configuration parameter)
2012-09-05 18:55:19 +04:00
Svetlana Isakova 8e5e309440 preserve order while collect overrides 2012-09-05 18:55:19 +04:00
Svetlana Isakova ed68ac2244 test fix 2012-09-05 18:55:18 +04:00
Svetlana Isakova 04daf73245 return more than one references from multi-resolve 2012-09-05 18:55:18 +04:00
Svetlana Isakova b4e3c36c5e resolve constructor reference in standard library 2012-09-05 18:55:18 +04:00
Svetlana Isakova e72c3d79f8 changed ConfigurationKind in tests
from JDK_ONLY to JDK_AND_ANNOTATIONS
 (after collections mapping added)
2012-09-05 18:55:18 +04:00
Svetlana Isakova 9263dbb0fc added configuration kind parameter to tests 2012-09-05 18:55:17 +04:00
Svetlana Isakova 096218c2b8 removed resolve to file if there is no resolve result 2012-09-05 18:55:17 +04:00
Svetlana Isakova 0b4b515ad7 navigate to several elements if there are many
(not only in ambiguity case)
2012-09-05 18:55:17 +04:00
Svetlana Isakova f8d341cb13 stdlib reference might be multi
(for fake reference defined in several super traits)
2012-09-05 18:55:17 +04:00
Svetlana Isakova e622be8a2d changed js tests/library after collections mapping 2012-09-05 18:55:17 +04:00
Svetlana Isakova 8bbb61a98c update js view on java.util library after collections mapping 2012-09-05 18:55:17 +04:00
Svetlana Isakova ce23fe7941 added toMutableList, toMutableCollection, toMutableSet
methods to standard library
2012-09-05 18:55:17 +04:00
Svetlana Isakova fedf080a59 changes in MutableMap trait 2012-09-05 18:55:17 +04:00
Svetlana Isakova 02cf0258cb move test 2012-09-05 18:55:17 +04:00
Svetlana Isakova 7d37df5f38 tests changes after collections mapping 2012-09-05 18:55:16 +04:00
Svetlana Isakova 2cad93e4be jet collections added to builtin-classes test 2012-09-05 18:55:16 +04:00
Svetlana Isakova 8b749084b5 library changes after collections mapping 2012-09-05 18:55:16 +04:00
Svetlana Isakova 7c828b9ff7 diagnostic tests changes after collections mapping 2012-09-05 18:55:16 +04:00
Svetlana Isakova bab20717ee KT-2688 Provide mutable/immutable interfaces for Java collections
#KT-2688 fixed
2012-09-05 18:55:16 +04:00
Svetlana Isakova 6fe49398a6 added 'getKotlinAnalogsForJavaStandardClasses'
to most of module configurations
2012-09-05 18:55:16 +04:00
Svetlana Isakova 31831f2433 added 'class has Kotlin analog' error
to existing diagnostic tests
2012-09-05 18:55:16 +04:00
Svetlana Isakova a3194e9a46 removed unnecessary import jet.Iterator 2012-09-05 18:55:16 +04:00
Svetlana Isakova 726bcb5465 KT-2606 Filter java.util.* import
#KT-2606 fixed
 added FilteringScope
2012-09-05 18:55:16 +04:00
Svetlana Isakova a04f6ee263 extracted method reportHasKotlinAnalog 2012-09-05 18:55:16 +04:00
Svetlana Isakova fb6e1e5dc3 added ERROR_CONFIGURATION to not to confuse it with empty configuration 2012-09-05 18:55:16 +04:00
Svetlana Isakova d642d2266b KT-2641 Warn on using j.l.Iterable in Kotlin code
#KT-2641 fixed
2012-09-05 18:55:16 +04:00
Svetlana Isakova 22227663de add 'isSafe' to FqNameUnsafe 2012-09-05 18:55:16 +04:00
Svetlana Isakova e70db866ad add 'getKotlinAnalogs' to ModuleConfiguration 2012-09-05 18:55:15 +04:00
Svetlana Isakova 7073b12d11 add ModuleConfiguration to injectors
(to be able to use it in TypeResolver)
2012-09-05 18:55:15 +04:00
Alexander Udalov 5aca16e65e Replace "\n" with System.getProperty("line.separator") 2012-09-05 18:52:15 +04:00
Nikolay Krasko 0e3dd77098 KT-2170 "private" keyword completion does not work before "val"
#KT-2170 Fixed
2012-09-05 17:08:02 +04:00
Andrey Breslav 7c4322cd2c Condition do not declare variables any more 2012-09-05 15:04:49 +04:00
Andrey Breslav 6de633d0cb Fixing compilation on some versions of javac 2012-09-05 14:39:37 +04:00
Andrey Breslav d4cdbbccff DataFLowInfo doesn't flow from when-checks 2012-09-05 14:18:41 +04:00
Andrey Breslav a267f65fa1 Front-end test data fixed to have no complex patterns
#KT-2359 In Progress
2012-09-05 14:18:40 +04:00
Andrey Breslav 1b65ba644e JS Back-end does not handle complex patterns any more
#KT-2359 In Progress
2012-09-05 14:18:40 +04:00
Andrey Breslav 4dd0b27e93 JVM Back-end does not handle complex patterns any more
#KT-2359 In Progress
2012-09-05 14:18:40 +04:00
Andrey Breslav 756ca9b284 DataFlowInfo treatment adjusted for absence of complex patterns
As patterns in when are no longer recursively nested, teh code is simplified.
Also, instead of keeing a Map<JetPattern, DataFlowInfo> patternsToDataFlowInfo in ExpressionTypingContext,
we fall back for a slice in the trace.

Refactoring: DataFlowInfos class introduced to repace a Pair<DFI, DFI>

 #KT-2359 In Progress
2012-09-05 14:18:40 +04:00
Andrey Breslav 70f3da109d Removing obsolete PSI classes, error message and CF-handling
#KT-2359 In Progress
2012-09-05 14:18:40 +04:00
Andrey Breslav 10d453ce6a Removing grammar/parsing support for complext patterns
#KT-2359 In progress
2012-09-05 14:18:40 +04:00