mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Update comment
This commit is contained in:
parent
a12e40a310
commit
33a5fc65ce
1 changed files with 1 additions and 2 deletions
|
@ -6782,8 +6782,7 @@ fn let_empty_struct<'a>(assigned: Symbol, hole: &'a Stmt<'a>) -> Stmt<'a> {
|
||||||
Stmt::Let(assigned, Expr::Struct(&[]), Layout::UNIT, hole)
|
Stmt::Let(assigned, Expr::Struct(&[]), Layout::UNIT, hole)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// If the symbol is a function, make sure it is properly specialized
|
/// If the symbol is a function or polymorphic value, make sure it is properly specialized
|
||||||
// TODO: rename this now that we handle polymorphic non-function expressions too
|
|
||||||
fn specialize_symbol<'a>(
|
fn specialize_symbol<'a>(
|
||||||
env: &mut Env<'a, '_>,
|
env: &mut Env<'a, '_>,
|
||||||
procs: &mut Procs<'a>,
|
procs: &mut Procs<'a>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue