Sergey Mashkov
|
8457b53f8b
|
Better main function recognition and tests
|
2015-07-24 17:20:40 +03:00 |
|
Pavel V. Talanov
|
273e69c02c
|
Refactor: Pass buitlins into IntegerValueTypeConstant and IntegerValueTypeConstructor
|
2015-07-24 13:47:59 +03:00 |
|
Pavel V. Talanov
|
a1a38e2eba
|
Minor: CompileTimeConstant use utils instead of JetType#equals
|
2015-07-24 13:47:58 +03:00 |
|
Pavel V. Talanov
|
0bed8bb7d4
|
Minor: Inject builtins into OverloadingConflictResolver
|
2015-07-24 13:47:57 +03:00 |
|
Pavel V. Talanov
|
4599c962f0
|
Refactor: make OverloadingConflictResolver and ResolutionResultsHandler components instead of singletons
|
2015-07-24 13:47:57 +03:00 |
|
Pavel V. Talanov
|
1559c53007
|
Minor: Inject builtins into DataFlowAnalyzer
|
2015-07-24 13:47:56 +03:00 |
|
Pavel V. Talanov
|
78f55583f0
|
Minor: CompileTimeConstantUtils, builtins are not needed to check for string type
|
2015-07-24 13:47:55 +03:00 |
|
Pavel V. Talanov
|
7203a7833a
|
Minor: Inject builtins in ControlFlowAnalyzer
|
2015-07-24 13:47:55 +03:00 |
|
Pavel V. Talanov
|
0830e48029
|
Minor: FakePureImplementationsProvider does not need builtins, just fq names
|
2015-07-24 13:47:54 +03:00 |
|
Pavel V. Talanov
|
83503b66d2
|
Minor: get rid of minor KotlinBuiltins.getInstance usage
|
2015-07-24 13:47:53 +03:00 |
|
Pavel V. Talanov
|
99e8ba1947
|
Get rid of static function ConstantExpressionEvaluator.evaluateToConstant
|
2015-07-24 13:47:53 +03:00 |
|
Pavel V. Talanov
|
6698b3b070
|
Refactor: get rid of static ConstantExpressionEvaluator.evaluate function
Move ArgumentTypeResolver.getLastElementDeparenthesized to JetPsiUtil
|
2015-07-24 13:47:52 +03:00 |
|
Pavel V. Talanov
|
2b9fc5268e
|
Inject ConstantExpressionEvaluator into JsCallChecker
Do not pass expected type into evaluateExpression
|
2015-07-24 13:47:51 +03:00 |
|
Ilya Gorbunov
|
065945176e
|
Use bare types in check and remove unneeded cast after.
Do not check whether a sequence is actually a collection or list.
|
2015-07-24 04:35:45 +03:00 |
|
Ilya Gorbunov
|
e799c92131
|
Accept more generic range for coerceIn.
|
2015-07-24 04:35:33 +03:00 |
|
Ilya Gorbunov
|
877cb72ba1
|
Array.copyOfRange: rename from, to to fromIndex, toIndex
|
2015-07-24 04:35:21 +03:00 |
|
Ilya Gorbunov
|
aeb7666578
|
Provide binarySearch with comparator for arrays.
|
2015-07-24 04:35:08 +03:00 |
|
Ilya Gorbunov
|
34afb450d8
|
List binarySearch and binarySearchBy methods and tests.
#KT-5444 Fixed
#KT-8217 Fixed
|
2015-07-24 04:34:56 +03:00 |
|
Ilya Gorbunov
|
3a7f6d7db0
|
Add inlineable compareValuesBy for single selector.
|
2015-07-24 04:34:44 +03:00 |
|
Ilya Gorbunov
|
d831509cee
|
Provide listOfNotNull method.
|
2015-07-24 04:34:31 +03:00 |
|
Ilya Gorbunov
|
46858ddabd
|
Allow to specify optional from and to indices for filling an array.
#KT-8382 Fixed
|
2015-07-24 04:34:19 +03:00 |
|
Ilya Gorbunov
|
c1975d0b2e
|
Array.fill returns Unit since it's an in-place array operation.
Revised #KT-4760
|
2015-07-24 04:34:07 +03:00 |
|
Ilya Gorbunov
|
12e3542bce
|
Provide toTypedArray method for primitive arrays.
|
2015-07-24 04:33:55 +03:00 |
|
Ilya Gorbunov
|
f57c207ed2
|
Introduce NotImplementedError instead of UnsupportedOperationException to throw from TODO function.
#KT-8153
|
2015-07-24 04:32:52 +03:00 |
|
Ilya Gorbunov
|
b7829d8471
|
JS: Make js Error to be mapped to kotlin.Throwable, inherit Exception and Error from Throwable.
|
2015-07-24 04:32:03 +03:00 |
|
Ilya Gorbunov
|
f2716a973c
|
TODO as a function. Add an overload with a string reason.
#KT-8153 Fixed
|
2015-07-24 04:30:10 +03:00 |
|
Ilya Gorbunov
|
bfb116c0b2
|
Provide TODO as a substitution for not yet implemented method body.
#KT-8153
|
2015-07-24 04:29:31 +03:00 |
|
Ilya Gorbunov
|
da3ec891d0
|
Provide unzip method for Iterables, Arrays and Sequences of pairs.
#KT-5793 Fixed
|
2015-07-24 04:28:57 +03:00 |
|
Ilya Gorbunov
|
f604eef2fe
|
Undeprecate find(predicate) and generate it for all collection-like types. Provide findLast(predicate).
Drop deprecated method findNot and extension properties first, last, head, tail
#KT-5185 Fixed
|
2015-07-24 04:28:46 +03:00 |
|
Ilya Gorbunov
|
1cc94f92e2
|
Also generate contains for meaningless combinations of types to prevent mistakenly using contains from an Iterable.
#KT-6361
|
2015-07-24 04:28:34 +03:00 |
|
Ilya Gorbunov
|
b7fbb60db4
|
Generate contains function for all combinations of primitive numeric ranges and arguments.
#KT-6361
|
2015-07-24 04:14:06 +03:00 |
|
Ilya Gorbunov
|
8892192e9c
|
Generate openRange tests for compiler.
#KT-4665
|
2015-07-24 04:13:53 +03:00 |
|
Ilya Gorbunov
|
71f3e3049a
|
Provide until function to construct integer ranges with an end being excluded from range.
#KT-4665 Fixed
|
2015-07-24 04:13:41 +03:00 |
|
Ilya Gorbunov
|
808170a84b
|
Generate range downTos with templates DSL
|
2015-07-24 04:13:29 +03:00 |
|
Valentin Kipyatkov
|
e677049d00
|
Test for no annotations rendered in parameter info
|
2015-07-23 22:02:06 +03:00 |
|
Valentin Kipyatkov
|
383a4da231
|
No annotations rendered in completion and other places
KT-5517 Completion shouldn't show inlineOptions annotation
#KT-5517 Fixed
|
2015-07-23 22:02:06 +03:00 |
|
Dmitry Jemerov
|
0ff0fc847d
|
delete the rest of KDoc
|
2015-07-23 19:00:46 +02:00 |
|
Pavel V. Talanov
|
8cc9739f72
|
Refactor: Pass TargetPlatform instead of configurator, hide DynamicTypesSettings inside configurator
|
2015-07-23 16:15:38 +03:00 |
|
Pavel V. Talanov
|
84b8ed00c5
|
Refactor: Move TargetPlatform to frontend, make it expose platform dependant resolve services
AdditionalCheckerProvider -> PlatformConfigurator which operates directly on container
|
2015-07-23 16:15:35 +03:00 |
|
Pavel V. Talanov
|
b452c20cc2
|
Minor: Remove unused references to AdditionalCheckerProvider
|
2015-07-23 16:15:31 +03:00 |
|
Pavel V. Talanov
|
3227ae5577
|
Inject non-context dependent CallCheckers instead of getting them from context
|
2015-07-23 16:15:28 +03:00 |
|
Pavel V. Talanov
|
2885da8993
|
Remove AdditionalTypeChecker from context, inject into points of usage
|
2015-07-23 16:15:18 +03:00 |
|
Pavel V. Talanov
|
be98c4f96d
|
DataFlowUtils -> DataFlowAnalyzer and make it a component
|
2015-07-23 16:15:13 +03:00 |
|
Pavel V. Talanov
|
985336d6cc
|
Remove SymbolUsageValidator from contexts
|
2015-07-23 16:15:10 +03:00 |
|
Pavel V. Talanov
|
b75779b425
|
Inject SymbolUsageValidator into CallExpressionResolver
|
2015-07-23 16:15:01 +03:00 |
|
Pavel V. Talanov
|
a75b80c70d
|
Inject declarations checkers into ModifiersChecker
|
2015-07-23 14:43:08 +03:00 |
|
Pavel V. Talanov
|
f5878eddd4
|
Refactor ModifiersChecker to be more component-like
A couple of minor prettifications
|
2015-07-23 14:42:34 +03:00 |
|
Natalia Ukhorskaya
|
ee49d13d89
|
Add tests on smart step into lambda
|
2015-07-23 11:54:43 +03:00 |
|
Natalia Ukhorskaya
|
c8f57e007c
|
Fix smart step into functions with expression body
|
2015-07-23 11:54:42 +03:00 |
|
Natalia Ukhorskaya
|
6c9da53414
|
Fix smart step into in libraries
|
2015-07-23 11:54:41 +03:00 |
|