Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 4d95c78

Browse files
committed
Rename.
1 parent 0fe98e6 commit 4d95c78

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

semantic-analysis/src/Analysis/Syntax.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ letrec n m = do
130130
-- Parsing
131131

132132
parseFile :: (Has (Throw String) sig m, MonadIO m) => FilePath -> m (Source.Source, File Term)
133-
parseFile path = do
134-
contents <- liftIO (B.readFile path)
135-
let sourcePath = replaceExtensions path "py"
133+
parseFile jsonPath = do
134+
contents <- liftIO (B.readFile jsonPath)
135+
let sourcePath = replaceExtensions jsonPath "py"
136136
-- FIXME: this is comprised of several terrible assumptions.
137137
sourceContents <- Source.fromUTF8 . B.toStrict <$> liftIO (B.readFile sourcePath)
138138
let span = decrSpan (Source.totalSpan sourceContents)

0 commit comments

Comments
 (0)