Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error: Can't disambiguate name: Main.yprefix, YafflePaths.yprefix #375

Open
LeifW opened this issue May 15, 2020 · 1 comment
Open
Labels
Installation Issue Problem compiling or running Idris

Comments

@LeifW
Copy link

LeifW commented May 15, 2020

Just did a git pull (at 21507e6), and running "make install" fails with:

...
Type checking ./Idris/IDEMode/REPL.idr
Type checking ./Idris/Main.idr
./Idris/Main.idr:49:15-21:
   |
49 |               Nothing => setPrefix yprefix
   |               ~~~~~~~
When checking right hand side of Main.case block in updatePaths at ./Idris/Main.idr:47:15-21 with expected type
        Core ()

Can't disambiguate name: Main.yprefix, YafflePaths.yprefix

./Idris/Main.idr:212:7-213:19:
    |
212 |     = do putStrLn yprefix
    |       ~~~~~~~~~~~~~~~~~~~ ...
When checking right hand side of quitOpts with expected type
        IO Bool

Can't disambiguate name: Main.yprefix, YafflePaths.yprefix

make: *** [Makefile:92: dist/idris2.c] Error 1

Using Idris 1.3.2 provided by Arch Linux (which pulls the tarball down from GitHub releases: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/idris#n21)

@LeifW LeifW added the Installation Issue Problem compiling or running Idris label May 15, 2020
@edwinb
Copy link
Owner

edwinb commented May 15, 2020

Did you clean everything first? You might have an out of date YafflePaths.idr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Installation Issue Problem compiling or running Idris
Projects
None yet
Development

No branches or pull requests

2 participants