refactor: make LeanPaths usage forward-compatible (leanprover/lake#48)
This commit is contained in:
parent
6d7fc7216c
commit
df1c1cde12
1 changed files with 1 additions and 1 deletions
|
|
@ -93,4 +93,4 @@ def leanSrcPath (self : Workspace) : SearchPath :=
|
|||
/-- The `LeanPaths` of the workspace. -/
|
||||
def leanPaths (self : Workspace) : LeanPaths :=
|
||||
let pkgs := self.packageList
|
||||
LeanPaths.mk (pkgs.map (·.oleanDir)) (pkgs.map (·.srcDir))
|
||||
{ oleanPath := pkgs.map (·.oleanDir), srcPath := pkgs.map (·.srcDir) }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue