Skip to content

FregeDoc on directories yields ClassCastException #392

@Dierk

Description

@Dierk

as of version 3.25.84, calling frege.tools.Doc with a directory rather than a module name yields

Exception in thread "main" java.lang.ClassCastException: frege.runtime.BlackHole cannot be cast to java.io.File
        at frege.tools.Doc$1Let$24361$1.call(Doc.java:5916)
        at frege.tools.Doc$1Let$24361$1.call(Doc.java:5914)
        at frege.run8.Thunk.call(Thunk.java:230)
        at frege.tools.Doc.lambda$docDirEntry$197(Doc.java:5923)

What if file.list

mbcontent <- f.list

yields problematic entries like ".DS_Store" on Mac..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions