Skip to content

Add missing gParPat in cvtp's ViewP case

Ryan Scott requested to merge wip/T24894 into master

When converting a ViewP using cvtp, we need to ensure that the view pattern is parenthesized so that the resulting code will parse correctly when roundtripped back through GHC's parser.

Fixes #24894.

Merge request reports