IDEA: fix build

This commit is contained in:
Alexey Andreev 2022-12-20 18:01:46 +01:00
parent 013ba237b0
commit 8963b00ed4

View File

@ -63,7 +63,7 @@ class TeaVMStackFrame extends XStackFrame {
if (jsFrame != null) { if (jsFrame != null) {
JavaScriptLocation jsLocation = jsFrame.getLocation(); JavaScriptLocation jsLocation = jsFrame.getLocation();
if (jsLocation != null) { if (jsLocation != null) {
virtualFile = VirtualFileManager.getInstance().findFileByUrl(jsLocation.getScript()); virtualFile = VirtualFileManager.getInstance().findFileByUrl(jsLocation.getScript().getUrl());
if (virtualFile != null) { if (virtualFile != null) {
line = jsLocation.getLine(); line = jsLocation.getLine();
} }