vim9script var d: dict<tuple<dict<any>, list<any>>> def A(): tuple<dict<any>, list<any>> return ({}, []) enddef def B() var [a; b] = d->get('a', (-1, {}, [])) b = A() echo typename(b) enddef B()
Compile Error E1012: Type mismatch; expected list<any> but got tuple<dict<any>, list<any>>
Compile succesfully
9.2.925
MS-Windows 11
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()