-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Description
What does this error mean?
I now "XS Conformance" doc says
The XS linker can dead strip ECMAScript built-ins that Moddable apps do not use.
but I don't see what this has to do with getting an exception. Checking xs/tools/xsl.c I see this indeed seems to be linked to this feature (code is behind if (linker->stripping) {...}). It's a bit too hard for me to follow what the many, many fxDeadStrips in mc.xs.c do though. &mdash EDIT: I understand the purpose of that function now but that's just an aside.
Smallest example, I get the error in a much larger context:
const RECIPE_RULE_PROPERTIES = (() => {
const rules = [{itemprop: 'name'}];
return new Map(rules.map(o => [o.itemprop, {
valueType: 'string',
optional: true
}]));
})();
trace(RECIPE_RULE_PROPERTIES);PS: By the way, I ran into this issue while attempting to build a minimal test case for issue #140
Metadata
Metadata
Assignees
Labels
No labels