mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
inline function
This commit is contained in:
parent
0f245ba778
commit
c9d422335f
3 changed files with 8 additions and 5 deletions
|
@ -1180,8 +1180,13 @@ fn add_annotation_aliases(
|
|||
// See 3d5a2560057d7f25813112dfa5309956c0f9e6a9 and its
|
||||
// parent commit for the bug this fixed!
|
||||
enum DefReferences {
|
||||
/// A value may not reference itself
|
||||
Value(References),
|
||||
|
||||
/// If the def is a function, different rules apply (it can call itself)
|
||||
Function(References),
|
||||
|
||||
/// An annotation without a body references no other defs
|
||||
AnnotationWithoutBody,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue