Fix typo: size → parseSize.
This commit is contained in:
parent
522445894e
commit
53351877da
@ -267,7 +267,7 @@ set = $coroutine (params) ->
|
||||
|
||||
# Memory.
|
||||
if 'memory' of params
|
||||
memory = size(params.memory)
|
||||
memory = parseSize(params.memory)
|
||||
|
||||
if memory < VM.memory.static[0]
|
||||
@throw(
|
||||
|
Loading…
Reference in New Issue
Block a user