Skip to content

Docs gen roc docs crashes with a platform required type #7019

Open
@lukewilliamboswell

Description

@lukewilliamboswell
$ /Users/luke/Documents/GitHub/roc/target/debug/roc docs platform/main.roc
thread '<unnamed>' panicked at crates/compiler/can/src/module.rs:370:13:
The `.Model` is not a type alias or ability known in
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


There was an unrecoverable error in the Roc compiler. The `roc check` command can sometimes give a more helpful error report than other commands.
platform ""
    requires { Model } { main : _ }
    exposes []
    packages {}
    imports []
    provides [mainForHost]

mainForHost : U64
mainForHost = main

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocs generationRelates to the generation of Documentation using `roc docs`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions