mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 02:39:20 +00:00
fix: refinement type assert cast bug
This commit is contained in:
parent
17625884b9
commit
e236a65c21
7 changed files with 72 additions and 8 deletions
|
@ -3657,6 +3657,7 @@ impl Context {
|
|||
/// ```erg
|
||||
/// recover_typarams(Int, Nat) == Nat
|
||||
/// recover_typarams(Array!(Int, _), Array(Nat, 2)) == Array!(Nat, 2)
|
||||
/// recover_typarams(Str or NoneType, {"a", "b"}) == {"a", "b"}
|
||||
/// ```
|
||||
/// ```erg
|
||||
/// # REVIEW: should be?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue