Update comment

This commit is contained in:
Ayaz 2022-04-08 08:50:31 -04:00 committed by GitHub
parent a12e40a310
commit 33a5fc65ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>,