This repository has been archived by the owner on Sep 8, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of ::class in Kotlin lexer (rouge-ruby#1572)
Due to the way the Kotlin lexer treats the 'class' keyword, the use of the callable reference, `::class`, can result in the lexer moving into an incorrect state where it interprets `class` as beginning a class definition. This commit fixes that bug. Co-authored-by: Michael Camilleri <mike@inqk.net>
- Loading branch information