-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Description
I was unable to figure out the full workflow of xsl to run it without mcconfig quickly, but it seems to not give an error at compile/link time about missing a dependency:
manifest.json
{
"include": "$(MODDABLE)/examples/manifest_base.json",
"modules": {
"*": [
"./main"
]
},
}main.js
import {message} from "dep";
trace(message + "\n");dep.js
export const message = "Hello world!";Will compile "successfully" using mcconfig -d -m -p mac with the output:
> mcconfig -d -m -p mac
# xsl modules
# mcrez resources
# cc mc.resources.c
# cc mc.xs.c
# ld mc.so
> echo $?
0This error is hidden until runtime as seen in xsbug:
The .xsb files contain enough information to provide an early error, but I am unclear on xsl's internals to patch it to output such an error.
Metadata
Metadata
Assignees
Labels
No labels
