Commit 17fb7236 authored by yann300's avatar yann300

remove 'dynamic' from type name

parent ffc2c634
...@@ -17,7 +17,8 @@ class ArrayType extends RefType { ...@@ -17,7 +17,8 @@ class ArrayType extends RefType {
storageSlots = arraySize * underlyingType.storageSlots storageSlots = arraySize * underlyingType.storageSlots
} }
} }
super(storageSlots, 32, underlyingType.typeName + '[' + arraySize + ']', location) var size = arraySize !== 'dynamic' ? arraySize : ''
super(storageSlots, 32, underlyingType.typeName + '[' + size + ']', location)
this.underlyingType = underlyingType this.underlyingType = underlyingType
this.arraySize = arraySize this.arraySize = arraySize
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment