mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
fix entry points
This commit is contained in:
parent
e9135c71af
commit
0d5e91eb92
7 changed files with 72 additions and 92 deletions
|
@ -54,6 +54,12 @@ pub enum MonoProblem {
|
|||
PatternProblem(crate::exhaustive::Error),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct EntryPoint<'a> {
|
||||
pub symbol: Symbol,
|
||||
pub layout: TopLevelFunctionLayout<'a>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub struct PartialProc<'a> {
|
||||
pub annotation: Variable,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue