There's a crash when we are able to get a wrapping function, but the source map is null.
This commit is contained in:
Родитель
5e6025f2cb
Коммит
e88e0f453f
|
@ -65,7 +65,7 @@ namespace SourcemapToolkit.CallstackDeminifier
|
|||
if (wrappingFunction.Bindings.Count == 2)
|
||||
{
|
||||
MappingEntry objectProtoypeMappingEntry =
|
||||
sourceMap.GetMappingEntryForGeneratedSourcePosition(wrappingFunction.Bindings[0].SourcePosition);
|
||||
sourceMap?.GetMappingEntryForGeneratedSourcePosition(wrappingFunction.Bindings[0].SourcePosition);
|
||||
|
||||
methodName = objectProtoypeMappingEntry?.OriginalName;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче