Add source mapping tests for default lambda inlining

This commit is contained in:
Mikhael Bogdanov
2017-05-12 13:08:57 +02:00
parent 21b32b9de5
commit 3e50203283
6 changed files with 251 additions and 1 deletions
@@ -657,7 +657,7 @@ public abstract class MemberCodegen<T extends KtPureElement/* TODO: & KtDeclarat
@NotNull
public DefaultSourceMapper getOrCreateSourceMapper() {
if (sourceMapper == null) {
// note: this is used for in InlineCodegen and the element is always physical (KtElement) there
// note: this is used in InlineCodegen and the element is always physical (KtElement) there
sourceMapper = new DefaultSourceMapper(SourceInfo.Companion.createInfo((KtElement)element, getClassName()));
}
return sourceMapper;