Forward reference causes function type mismatch error #30015
Labels
Area/CodeAnalysis
Data flow , Code and Closure analysis related issues #Compiler
Lang/ClassDefinition
issues related to classes
Lang/Iterable
Iterable, range expression related issues
Priority/High
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Bug
With slalpha4, this:
gets a
mismatched function signatures
compile error. The error goes away if I move the declaration of MyIterator to before MyIterable.The text was updated successfully, but these errors were encountered: