Commit c6261654 authored by yann300's avatar yann300

fix struct test

parent 0e76ee5d
......@@ -51,5 +51,5 @@ function isArray (type) {
}
function isStruct (type) {
return type.indexOf('struct') === 0
return type.indexOf('struct') === 0 && !isArray(type)
}
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