-
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't double semantic highlight some comments.
- Loading branch information
1 parent
a577ab4
commit de50c27
Showing
4 changed files
with
76 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
component Main { | ||
fun render : Html { | ||
@highlight { | ||
// Comment1 | ||
// Comment2 | ||
"" | ||
}[1] | ||
} | ||
} | ||
-------------------------------------------------------------------------------- | ||
import { | ||
createElement as B, | ||
fragment as C | ||
} from "./runtime.js"; | ||
|
||
export const A = () => { | ||
return [ | ||
``, | ||
B(C, {}, [ | ||
B("span", { | ||
className: "line" | ||
}, [ | ||
B("span", { | ||
className: "comment" | ||
}, [`// Comment1`]), | ||
` | ||
` | ||
]), | ||
B("span", { | ||
className: "line" | ||
}, [ | ||
``, | ||
B("span", { | ||
className: "comment" | ||
}, [`// Comment2`]), | ||
` | ||
` | ||
]), | ||
B("span", { | ||
className: "line" | ||
}, [ | ||
``, | ||
B("span", { | ||
className: "string" | ||
}, [`""`]) | ||
]) | ||
]) | ||
][1] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module Test { | ||
fun test : String { | ||
// Comment E | ||
// Comment F | ||
"" | ||
} | ||
} | ||
-------------------------------------------------------------------------------- | ||
module Test { | ||
fun test : String { | ||
// Comment E | ||
// Comment F | ||
"" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters