Skip to content

Commit cd99086

Browse files
committed
Add test
1 parent cc3a8d7 commit cd99086

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/neg-custom-args/isInstanceOf/html.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ object HTML:
1010
attrs.filter(_ != Nil).foreach{
1111
case s: Seq[AppliedAttr] =>
1212
s.foreach(sb.append(" ").append)
13+
case s: Seq[Int] => // error
1314
case e: AppliedAttr =>
1415
sb.append(" ").append(e)
1516
}

0 commit comments

Comments
 (0)