fixed bug
This commit is contained in:
parent
ccfae19541
commit
c37db41431
2 changed files with 17 additions and 6 deletions
|
|
@ -117,6 +117,19 @@ bads =
|
|||
" };"
|
||||
)
|
||||
bad
|
||||
, testSatisfy
|
||||
"id with incorrect signature"
|
||||
( D.do
|
||||
"id : a -> b;"
|
||||
"id x = x;"
|
||||
)
|
||||
bad
|
||||
, testSatisfy
|
||||
"incorrect type signature on id lambda"
|
||||
( D.do
|
||||
"id = ((\\x. x) : a -> b);"
|
||||
)
|
||||
bad
|
||||
]
|
||||
|
||||
bes =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue