Cannot use an error binding pattern in the on-fail-clause #29183
Labels
Area/CodeAnalysis
Data flow , Code and Closure analysis related issues #Compiler
Area/Parser
Everything related to the ballerina lexer and the parser #Compiler
Area/SyntaxAPI
Ballerina syntax API related issues #Compiler
Area/TypeChecker
Type Checker related issues #Compiler
Spec/Different
Implementation or runtime behavior is different from the spec.
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/NewFeature
Milestone
Description:
The spec defines on-fail-clause as
But only capture binding patterns seem to be allowed atm.
Steps to reproduce:
results in compilation errors.
Affected Versions:
slalpha2, slalpha3-SNAPSHOT
The text was updated successfully, but these errors were encountered: