Слияние кода завершено, страница обновится автоматически
Происходит core dump при импорте по умолчанию из динамического модуля:
core dump при импорте по умолчанию из динамического модуля:
Бросить ошибку вместо отчета о core dump
// arktsconfig.json
{
"compilerOptions": {
"paths": {
"escompat": [
"/home/xx/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat"
],
"std": [
"/home/xx/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std"
]
},
"dynamicPaths": {
"xxD": {"language": "js", "hasDecl": false}
}
}
}
// test.sts
import A from 'xxD';
Команда компиляции:
../../runtime_core/static_core/out/bin/es2panda --extension=sts --output=out.abc --opt-level=2 --gen-stdlib=false --arktsconfig=arktsconfig.json test.sts
Вход Перед тем как оставить комментарий