mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Correctly generate type constraints for required symbols in platform
This commit is contained in:
parent
e8fbda44fc
commit
c7142da116
7 changed files with 35 additions and 17 deletions
|
@ -1,5 +1,5 @@
|
|||
platform "effects"
|
||||
requires {} { main : Effect {} }
|
||||
requires {} { main : Effect.Effect {} }
|
||||
exposes []
|
||||
packages {}
|
||||
imports [ pf.Effect ]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
platform "tui"
|
||||
requires { Model } { main : Effect {} }
|
||||
requires { Model } { main : { init : ({} -> Model), update : (Model, Str -> Model), view : (Model -> Str) } }
|
||||
exposes []
|
||||
packages {}
|
||||
imports []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue