mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
introduce ForeignSymbol wrapper
This commit is contained in:
parent
3cd132dd51
commit
eae797a47a
4 changed files with 31 additions and 4 deletions
|
@ -11,7 +11,7 @@ use crate::procedure::References;
|
|||
use crate::scope::Scope;
|
||||
use inlinable_string::InlinableString;
|
||||
use roc_collections::all::{ImSet, MutMap, MutSet, SendMap};
|
||||
use roc_module::ident::{Lowercase, TagName};
|
||||
use roc_module::ident::{ForeignSymbol, Lowercase, TagName};
|
||||
use roc_module::low_level::LowLevel;
|
||||
use roc_module::operator::CalledVia;
|
||||
use roc_module::symbol::Symbol;
|
||||
|
@ -99,7 +99,7 @@ pub enum Expr {
|
|||
ret_var: Variable,
|
||||
},
|
||||
ForeignCall {
|
||||
foreign_symbol: InlinableString,
|
||||
foreign_symbol: ForeignSymbol,
|
||||
args: Vec<(Variable, Expr)>,
|
||||
ret_var: Variable,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue