diff options
Diffstat (limited to 'testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr')
-rw-r--r-- | testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr index 2b90a1a987..b0df5d95ce 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr @@ -1,13 +1,12 @@ hasfieldfail02.hs:10:5: error: - • No instance for (HasField "foo" T a1) + • No instance for ‘HasField "foo" T a1’ arising from a use of ‘getField’ • In the expression: getField @"foo" (MkT id) - In an equation for ‘x’: - x = getField @"foo" (MkT id) + In an equation for ‘x’: x = getField @"foo" (MkT id) hasfieldfail02.hs:14:5: error: - • No instance for (HasField "bar" U a0) + • No instance for ‘HasField "bar" U a0’ arising from a use of ‘getField’ • In the expression: getField @"bar" (MkU True) In an equation for ‘y’: y = getField @"bar" (MkU True) |