It is pretty trivial and more confusing when standalone, especially the use of a sentinel "unknown" string as a standin for "this isn't one of the allowed object types". Much easier to directly raise an error in the fallthrough/else.pull/12848/head
parent
8ff25c0bca
commit
1b15176168
1 changed files with 5 additions and 10 deletions
Loading…
Reference in new issue