toASM throws TypeError: Cannot read properties of null (reading 'map')
O2rki opened this issue · 4 comments
O2rki commented
Happens when decompile
returns a null object, then toASM
tries to map
.
Lines 158 to 162 in 6396fb4
Do I have to check myself (in my code) if decompile
returns a null before calling toASM
?.
jasonandjay commented
We can optimize decomplie return value to avoid type error.
But you should check your logic why get incorrect chunks to exec toASM?
O2rki commented
I was debugging the lib. Incorrect chunks may get there for whatever reason.
jasonandjay commented
OK, we will fix it.
O2rki commented
Thanks @jasonandjay