We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86e4959 commit 917390aCopy full SHA for 917390a
compiler/ast/types.nim
@@ -1030,7 +1030,8 @@ proc safeInheritanceDiff*(a, b: PType): int =
1030
proc compatibleEffectsAux(se, re: PNode, unknown, differ: EffectsCompat
1031
): EffectsCompat =
1032
## Computes whether effect lists `se` and `re` are compatible; they are when
1033
- ## `se` is a superset of `re`.
+ ## `se` is a superset of `re`. If compatible returns `efCompat`, otherwise `differ`
1034
+ ## or `unknown` if incompatible or cannot be determined, respectively.
1035
if se.isNil:
1036
# assume that it means "any effect"
1037
# FIXME: ^^ this is not always true! 'nil' can also mean
0 commit comments