Error message improvements

This commit is contained in:
Patrick Kidger
2023-11-27 09:50:02 -08:00
parent 5fbd6718ab
commit 0a76c9c70c
3 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ def test_varkwargs(jaxtyp, typecheck):
def test_defaults(jaxtyp, typecheck):
@jaxtyp(typecheck)
def f(x, y=1):
def f(x: int, y=1):
pass
f(1)