Skip to content

Commit db2464f

Browse files
committed
Update check file
1 parent 2a96f16 commit db2464f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/neg/named-tuples-3.check

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
-- Error: tests/neg/named-tuples-3.scala:7:16 --------------------------------------------------------------------------
1+
-- [E007] Type Mismatch Error: tests/neg/named-tuples-3.scala:7:16 -----------------------------------------------------
22
7 |val p: Person = f // error
33
| ^
4-
| Malformed NamedTuple: names must be string types, but Int was found.
4+
| Found: NamedTuple.NamedTuple[(Int, Any), (Int, String)]
5+
| Required: Person
6+
|
7+
| longer explanation available when compiling with `-explain`

0 commit comments

Comments
 (0)