Skip to content

Commit 4ba900b

Browse files
Fix ambiguous Syntax.Range
1 parent 5888586 commit 4ba900b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

REPL/JSON.lean

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def Tactic.of (goals tactic : String) (pos endPos : Lean.Position) (proofState :
122122

123123
structure DocString where
124124
content : String
125-
range : Syntax.Range
125+
range : Elab.Syntax.Range
126126
deriving ToJson
127127

128128
/-- See `Lean.Elab.Modifiers` -/
@@ -139,7 +139,7 @@ deriving ToJson
139139
structure DeclSignature where
140140
pp : String
141141
constants : Array Name
142-
range : Syntax.Range
142+
range : Elab.Syntax.Range
143143
deriving ToJson
144144

145145
structure BinderView where
@@ -159,19 +159,19 @@ structure DeclBinders where
159159
pp : String
160160
groups : Array String
161161
map : Array BinderView
162-
range : Syntax.Range
162+
range : Elab.Syntax.Range
163163
deriving ToJson
164164

165165
structure DeclType where
166166
pp : String
167167
constants : Array Name
168-
range : Syntax.Range
168+
range : Elab.Syntax.Range
169169
deriving ToJson
170170

171171
structure DeclValue where
172172
pp : String
173173
constants : Array Name
174-
range : Syntax.Range
174+
range : Elab.Syntax.Range
175175
deriving ToJson
176176

177177
local instance : ToJson OpenDecl where
@@ -194,7 +194,7 @@ deriving ToJson
194194

195195
structure DeclarationInfo where
196196
pp: String
197-
range : Syntax.Range
197+
range : Elab.Syntax.Range
198198
scope : ScopeInfo
199199
name : Name
200200
fullName : Name

0 commit comments

Comments
 (0)