Module Load Errors

We see that line number reporting varies by browser when we catch dynamic module syntax errors. (We note how to load a revised Mech as we interpret these signals.)

plan

Show the error message in all cases.

unexpected token: '{'

Show the offending line if identified by either err.line or err.lineNumber.

unexpected token: '{'
  (links||[]).forEach({slug}) {

Show character position when identified by err.columnNumber.

unexpected token: '{'
  (links||[]).forEach({slug}) x{

.

Safari (Option-Command-E)

Version 26.2 (21623.1.14.11.9)

Firefox (see mozilla )

149.0.2 (64-bit)

Chrome (Empty Cache and Hard Reload)

Version 146.0.7680.178 (Official Build) (x86_64)