tags 45717 + confirmed
thanks
Jakobsson Mattias<mattias.jakobsson@smhi.se> writes:
I get the errors in the Recent messages further below if I edit (e.g., by
inserting a newline)
a JSX file with the content between the ``` below. If I remove the apostrophe
from
"don't" in the comment the errors goes away.
```
import React from "react";
const MyComponent = ({ someList }) => (
<div
className={someList.filter(
// don't include an apostrophe in this comment
(cls) => cls !== "someclass"
)}
/>
);
export default MyComponent;
```
I tried reproducing this on current master, but I don't see any message.
However, I do see incorrect highlighting after the comment with the
apostrophe, so something is clearly still not working as it should.