chore: reformatted all files
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import struct
|
||||
from typing import List
|
||||
|
||||
from .clazz import Class, Method, Code
|
||||
from .clazz import Class, Code, Method
|
||||
from .exceptions import PJVMException
|
||||
from .old_jtypes import JObj
|
||||
|
||||
@@ -36,7 +36,7 @@ class Frame:
|
||||
raise PJVMException("Local out of bound!")
|
||||
self.local_variables[index] = val
|
||||
|
||||
def get_local(self, index: int) ->JObj:
|
||||
def get_local(self, index: int) -> JObj:
|
||||
if index > self.code.max_locals:
|
||||
raise PJVMException("Local out of bound!")
|
||||
val = self.local_variables[index]
|
||||
|
||||
Reference in New Issue
Block a user