Skip to content

Commit

Permalink
chore: restore example after stage0 update (#6942)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwarich authored Feb 4, 2025
1 parent 897e9c5 commit 63ac27e
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 63ac27e

Please sign in to comment.