mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fix bug with source maps generator
This commit is contained in:
parent
525fd89374
commit
8950121d01
|
@ -33,7 +33,9 @@ public class ExactMethodIterator {
|
|||
|
||||
ExactMethodIterator(DebugInformation debugInformation) {
|
||||
this.debugInformation = debugInformation;
|
||||
read();
|
||||
if (!isEndReached()) {
|
||||
read();
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isEndReached() {
|
||||
|
|
|
@ -31,7 +31,9 @@ public class SourceLocationIterator {
|
|||
|
||||
SourceLocationIterator(DebugInformation debugInformation) {
|
||||
this.debugInformation = debugInformation;
|
||||
read();
|
||||
if (!isEndReached()) {
|
||||
read();
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isEndReached() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user