chore: Version 0.3 #136

Open
aniva wants to merge 523 commits from dev into main
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 5e61282660 - Show all commits

View File

@ -106,8 +106,8 @@ def test_symbol_location : TestT IO Unit := do
let .ok result ← Environment.inspect { name := "Nat.le_of_succ_le", source? := .some true } (options := {}) | fail "Inspect failed"
checkEq "module" result.module? <| .some "Init.Data.Nat.Basic"
-- Doesn't work for symbols in `Init` for some reason
--checkEq "file" result.sourceUri? <| .some "??"
-- Extraction of source doesn't work for symbols in `Init` for some reason
checkTrue "file" result.sourceUri?.isNone
checkEq "pos" (result.sourceStart?.map (·.column)) <| .some 0
checkEq "pos" (result.sourceEnd?.map (·.column)) <| .some 88