invalid star star arguments.

This commit is contained in:
Dave Halter
2014-12-13 08:34:03 +01:00
parent ddd4d675f6
commit 7d9f85c762
2 changed files with 13 additions and 8 deletions

View File

@@ -108,6 +108,11 @@ mixed2(3, b=5)
#! 12 type-error-star-star
simple(1, **[])
#! 12 type-error-star-star
simple(1, **1)
class A(): pass
#! 12 type-error-star-star
simple(1, **A())
#! 11 type-error-star
simple(1, *1)