lean4 icon indicating copy to clipboard operation
lean4 copied to clipboard

Unexpected field notation completion

Open Kha opened this issue 1 year ago • 0 comments

import Lean

example (range : String.Range) : String.Pos :=
  ⟨range.stop.b⟩

example (p : String.Pos) : String.Pos :=
  ⟨p.b⟩

Both bs complete to very different lists, but neither contains the desired byteIdx.

Kha avatar Jul 09 '24 20:07 Kha