CS-Notes/docs/_style/prism-master/tests/languages/ruby/issue1336.test
2018-12-19 14:09:39 +08:00

15 lines
312 B
Java

:Foo
Foo::Bar
----------------------------------------------------
[
["symbol", ":Foo"],
["constant", "Foo"],
["punctuation", ":"], ["punctuation", ":"],
["constant", "Bar"]
]
----------------------------------------------------
Ensures module syntax is not confused with symbols. See #1336