mirror of
https://github.com/wassname/jaxtyping.git
synced 2026-09-10 12:14:04 +08:00
Error message improvements
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user