diff --git a/test/blackbox-tests/dom-props-locations.t b/test/blackbox-tests/dom-props-locations.t new file mode 100644 index 000000000..8e69ea6a8 --- /dev/null +++ b/test/blackbox-tests/dom-props-locations.t @@ -0,0 +1,74 @@ +DOM JSX source locations remain available while editing buffers with data +attributes, even before the JSX PPX supports those attributes. + + $ cat > dune-project < (lang dune 3.8) + > (using melange 0.1) + > EOF + + $ cat > dune < (melange.emit + > (target output) + > (alias mel) + > (emit_stdlib false) + > (libraries reason-react) + > (preprocess (pps melange.ppx reason-react-ppx))) + > EOF + +Build a valid component to initialize the Merlin configuration. + + $ cat > component.re < let element =