Mark McCulloh
Mark McCulloh
Also, the --debug feature should already work https://github.com/winglang/wing/blob/62513f9606760376c418402c5320c7ff717bd398/apps/wing/src/cli.ts#L102-L104
Just tried it and looks like it only works for preflight errors. So the bug to fix here is to unify https://github.com/winglang/wing/blob/62513f9606760376c418402c5320c7ff717bd398/apps/wing/src/commands/test/test.ts#L212 to work more like https://github.com/winglang/wing/blob/62513f9606760376c418402c5320c7ff717bd398/apps/wing/src/commands/compile.ts#L162-L174 and respect DEBUG
@le-incroyable1-dev Make sure to compile the CLI project first, run `turbo compile -F winglang` (or `pnpm turbo compile -F winglang` if you don't have turbo installed globally)
@le-incroyable1-dev I see the `cargo: not found` error, I do remember trying to diagnose this. Is this still within wsl? What shell are you using? Do you know which shell...
I believe `TestResult.error` should already have the full verbose error and it's getting trimmed by `prettyPrintError`. I think my initial advice here should work https://github.com/winglang/wing/issues/5883#issuecomment-1989366155 Another interesting improvement would be...
+1 @eladb I remember that you were initially against this, I'm curious what changed your mind. --- In addition to this change, I think we should evaluate the purpose of...
Would this also apply to any logical expressions (e.g. `b1 && b2` or `!b2`)?
Might work. The compiler would have to emit code to protect against cases where we try to use a `nil` in logical expressions because `true && null` -> `null` in...
If we move the `tests` folder out, I would also just get rid of the examples folder. The "proposed" folder can just be deleted, and the "fixture" projects can either...
Yep, it makes sense to try bundling ESM. The changes required will likely go passed bundling though: wingc will need to emit `await import()` instead of a `require()` for inflight...