Skip to content

Commit

Permalink
chore: restore example after stage0 update
Browse files Browse the repository at this point in the history
  • Loading branch information
zwarich committed Feb 4, 2025
1 parent cd72256 commit a820b2b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Lean/Data/Lsp/LanguageFeatures.lean
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,9 @@ def SemanticTokenType.toNat (tokenType : SemanticTokenType) : Nat :=
tokenType.toCtorIdx

-- sanity check
-- TODO: restore after update-stage0
--example {v : SemanticTokenType} : open SemanticTokenType in
-- names[v.toNat]?.map (toString <| toJson ·) = some (toString <| toJson v) := by
-- cases v <;> native_decide
example {v : SemanticTokenType} : open SemanticTokenType in
names[v.toNat]?.map (toString <| toJson ·) = some (toString <| toJson v) := by
cases v <;> native_decide

/--
The semantic token modifiers included by default in the LSP specification.
Expand Down

0 comments on commit a820b2b

Please sign in to comment.