lean4-htt/tests/lean/eqn_compiler_error_msg.lean.expected.out
Leonardo de Moura 87932f1c56 feat(frontends/lean): change notation for inaccessible patterns
The following are accepted
 .(t)
 ._

We don't accept .t anymore because it will conflict with the field
access notation.
2017-03-28 16:09:15 -07:00

3 lines
268 B
Text

eqn_compiler_error_msg.lean:5:2: error: invalid function application in pattern, it cannot be reduced to a constructor (possible solution, mark term as inaccessible using '.( )')
.p + .n
eqn_compiler_error_msg.lean:5:28: error: ill-formed match/equations expression