Skip to content

Commit

Permalink
Fix decode(Str, Type) for Path subtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyash-b committed Jun 23, 2024
1 parent 3e6e559 commit b666e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stdlib.ngs
Original file line number Diff line number Diff line change
Expand Up @@ -5747,7 +5747,7 @@ section "Path" {

doc Decode Path and its subtypes
doc %RET - instance of Path or a subtype.
F decode(s:Str, p) {
F decode(s:Str, p:Type) {
guard p <= Path
p(s)
}
Expand Down

0 comments on commit b666e68

Please sign in to comment.