release: WRNexusJS 0.6.0
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# WRNexusJS 0.6.0 R11 peer-function regression test fix
|
||||
|
||||
The final failing compiler test used an over-escaped regular expression:
|
||||
|
||||
```ts
|
||||
targets.browser.replace(/^export\\s+/gm, "");
|
||||
```
|
||||
|
||||
That pattern matches a literal `\\s` sequence rather than whitespace, so generated `export` keywords remained in the source passed to `new Function()`.
|
||||
|
||||
R11 corrects the test to:
|
||||
|
||||
```ts
|
||||
targets.browser.replace(/^export\s+/gm, "");
|
||||
```
|
||||
|
||||
The generated browser module itself was already correct. The corrected executable probe returns `state.value === 1` after calling the peer-bound `run()` function.
|
||||
Reference in New Issue
Block a user