Commit Graph

31179 Commits

Author SHA1 Message Date
Alexey Andreev 7af4b2fdb2 KT-11030 Fix subclassing of local class by local class 2016-04-20 18:12:21 +03:00
Alexey Andreev d9504dfe2b KT-11030 When local function is declared inside constructor, capture this into this function 2016-04-20 18:12:21 +03:00
Alexey Andreev a74c613ec5 KT-11030 Make copy method of local data classes to copy captured variables 2016-04-20 18:12:21 +03:00
Alexey Andreev a21b5ad4e6 KT-11030 Fix capturing of local variables via by expression, i.e. object : ClassName by v where v is local variable 2016-04-20 18:12:20 +03:00
Alexey Andreev af0280ca7a KT-11030 Repair support of enums. Minor refactoring of ClassTranslator 2016-04-20 18:12:20 +03:00
Alexey Andreev 47dde9520d KT-11030 Don't capture companion objects into closure 2016-04-20 18:12:15 +03:00
Alexey Andreev 1bded9d66f KT-11030 Fix translation of FQN of native companion objects 2016-04-20 18:01:08 +03:00
Alexey Andreev 6967ebcc8c KT-11030 Copy static properties of object's class to instance of object (think about moving local functions to member methods in objects) 2016-04-20 18:01:08 +03:00
Alexey Andreev 00292f4125 KT-11030 Avoid name clash between member fields and fields that store closure of local classes 2016-04-20 18:01:07 +03:00
Alexey Andreev 337078faf3 KT-11030 Unify concept of objects and companion objects. Fix order of initialization of nested objects. 2016-04-20 18:01:07 +03:00
Alexey Andreev 8e7d949dd4 KT-11030 Implements closures in classes. Represent local object literals as classes 2016-04-20 18:01:07 +03:00
Alexey Andreev 1f8c3375fe KT-11030 Implements local classes that don't have closure 2016-04-20 18:01:06 +03:00
Alexey Andreev 7ca6102cac KT-11030 Disable error reporting of local classes in JS backend 2016-04-20 18:01:06 +03:00
Alexey Andreev 3e11209d8a KT-11030 Borrow test for local classes from JVM backend 2016-04-20 17:49:03 +03:00
Michael Bogdanov 9a8474392d Code clean 2016-04-20 17:07:17 +03:00
Michael Bogdanov 2cec779c14 'visitLineNumber' replaced with 'mapLineNumber' in SourceMapper 2016-04-20 17:07:16 +03:00
Michael Bogdanov c70e1c6065 SourceMappers refactoring 2016-04-20 17:07:15 +03:00
Michael Bogdanov bb5c24eae5 Old SourceMappers replaced with new ones 2016-04-20 17:07:15 +03:00
Michael Bogdanov 68f5e4d10e Added debug strata to test data 2016-04-20 17:07:14 +03:00
Michael Bogdanov 9fe9a1742b Debugger navigation strata processing update 2016-04-20 17:07:14 +03:00
Natalia Ukhorskaya 02c5e005fe Debugger: navigate to call site of inline function
#KT-11438 Fixed
2016-04-20 17:07:13 +03:00
Michael Bogdanov bdd24cfa7d Temporary rollback change cause of merge conflict 2016-04-20 17:07:12 +03:00
Michael Bogdanov af68f3d019 Added additional strata for stacktraces 2016-04-20 17:07:12 +03:00
Michael Bogdanov f6edf311d7 Optimization in NestedSourceMapper 2016-04-20 17:07:11 +03:00
Michael Bogdanov 636c13adde Small optimization in InlineLambdaSourceMapper 2016-04-20 17:07:11 +03:00
Michael Bogdanov 0a46cea799 TODO: optimize smap - do preproccessing 2016-04-20 17:07:10 +03:00
Michael Bogdanov faca68297c Updated line numbers tests 2016-04-20 17:07:09 +03:00
Michael Bogdanov ab2d3665a4 SourceMapper api refactoring 2016-04-20 17:07:08 +03:00
Michael Bogdanov 225e90bbdf Removed redundant cache, small rename refactoring after removing 2016-04-20 17:07:08 +03:00
Michael Bogdanov 286da1fc5f Properly calculate maxUsedValue 2016-04-20 17:07:07 +03:00
Michael Bogdanov dfabad324b Additional checker for smap 2016-04-20 17:07:07 +03:00
Michael Bogdanov ff820bddc0 New source mapping 2016-04-20 17:07:06 +03:00
Valentin Kipyatkov cb615c557a Minor change on code review 2016-04-20 14:30:54 +03:00
Valentin Kipyatkov e6580b0cdb Simplified code 2016-04-20 14:30:54 +03:00
Valentin Kipyatkov 1535e8ad90 KT-11955 Copy/Paste inserts FQ-name
#KT-11955 Fixed
2016-04-20 14:30:54 +03:00
Valentin Kipyatkov 364a8801a3 Correct keyword completion after try in assignment 2016-04-20 14:30:54 +03:00
Valentin Kipyatkov 4f9f5c205f Added flags "runForWholeFile" for inspections into XML because overriding method does not work 2016-04-20 14:30:53 +03:00
Valentin Kipyatkov a68dbe78d8 KT-11594 "Add non-null asserted (!!) call" applied to unsafe cast to nullable type causes AE at KtPsiFactory.createExpression()
#KT-11594 Fixed
2016-04-20 14:30:53 +03:00
Valentin Kipyatkov b5e89713cd KT-11275 Inconsistent behaviour when using lambda calls with function arguments without parens
#KT-11275 Fixed
2016-04-20 14:30:53 +03:00
Valentin Kipyatkov 50e7079efc Better message for CanBeValInspection 2016-04-20 14:30:53 +03:00
Valentin Kipyatkov ecdaaea88d Never report companion object as unused
#KT-11366 Fixed
2016-04-20 14:30:52 +03:00
Alexey Tsvetkov f2ba83adf2 Minor: slightly increase memory limit for gradle daemon test 2016-04-20 13:44:51 +03:00
Mikhail Glukhikh 771fb0ace2 Compiler warning on identical enum constant / is type entries #KT-4829 Fixed 2016-04-20 12:21:31 +03:00
Mikhail Glukhikh d7ecd12737 Minor refactoring: PatternMatchingTypingVisitor 2016-04-20 12:21:27 +03:00
Mikhail Glukhikh 5ec7b5bef0 Minor refactoring: WhenChecker 2016-04-20 12:21:22 +03:00
Dmitry Petrov 420c7a0285 KT-11111:
- override by a final inline fun is a warning
- override by a fun with reified type parameters is an error
2016-04-20 11:59:03 +03:00
Dmitry Petrov ef0f512201 java 2 kt: InlineAnalyzerExtension, convert 2016-04-20 11:59:03 +03:00
Dmitry Petrov 4c1694493a java 2 kt: InlineAnalyzerExtension, rename 2016-04-20 11:59:02 +03:00
Nikolay Krasko 2e993a0e1e Reformat template after end 2016-04-19 21:28:02 +03:00
Nikolay Krasko f2a17bc4c2 Formatter doesn't handle space before angle bracket in method definition (KT-11961)
#KT-11961 Fixed
2016-04-19 21:28:00 +03:00