mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JS Debugger: Fix EA-133086 - IOOBE: NameMapper.doMap
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ open class NameMapper(private val document: Document, private val transpiledDocu
|
||||
|
||||
protected fun doMap(identifierOrNamedElement: PsiElement, mapBySourceCode: Boolean): String? {
|
||||
val mappings = getMappingsForElement(identifierOrNamedElement)
|
||||
if (mappings == null) return null
|
||||
if (mappings == null || mappings.isEmpty()) return null
|
||||
val sourceEntry = mappings[0]
|
||||
val generatedName: String?
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user