mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
fix: accidentally used experimental feature
This commit is contained in:
parent
a6c6760c2a
commit
197a34c41d
1 changed files with 6 additions and 6 deletions
|
@ -46,13 +46,13 @@ impl Def {
|
||||||
|
|
||||||
match self {
|
match self {
|
||||||
Def::AnnotationOnly { .. } => todo!("lost pattern information here ... "),
|
Def::AnnotationOnly { .. } => todo!("lost pattern information here ... "),
|
||||||
Def::Value(
|
Def::Value(value_def) => match value_def {
|
||||||
ValueDef::WithAnnotation { pattern_id, .. }
|
ValueDef::WithAnnotation { pattern_id, .. }
|
||||||
| ValueDef::NoAnnotation { pattern_id, .. },
|
| ValueDef::NoAnnotation { pattern_id, .. } => {
|
||||||
) => {
|
let pattern2 = &pool[*pattern_id];
|
||||||
let pattern2 = &pool[*pattern_id];
|
output.extend(symbols_from_pattern(pool, pattern2));
|
||||||
output.extend(symbols_from_pattern(pool, pattern2));
|
}
|
||||||
}
|
},
|
||||||
Def::Function(function_def) => match function_def {
|
Def::Function(function_def) => match function_def {
|
||||||
FunctionDef::NoAnnotation { name, .. }
|
FunctionDef::NoAnnotation { name, .. }
|
||||||
| FunctionDef::WithAnnotation { name, .. } => {
|
| FunctionDef::WithAnnotation { name, .. } => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue