Lines Matching refs:dict
288 …CheckDefAndScriptFailure2(lines, 'E1105: Cannot convert dict to string', 'E734: Wrong variable typ…
492 # dict of dict
493 var d1: dict<number>
497 var d2: dict<dict<number>>
502 var d3: dict<dict<dict<number>>>
515 var d3: dict<dict<number>>
519 CheckDefFailure(lines, 'E1012: Type mismatch; expected number but got dict<unknown>', 3)
533 # list of dict
534 var ld: list<dict<number>>
540 var ld: list<dict<number>>
543 CheckDefFailure(lines, 'E1012: Type mismatch; expected dict<number> but got list<unknown>', 2)
545 # dict of list
546 var dl: dict<list<number>>
552 var dl: dict<list<number>>
555 CheckDefFailure(lines, 'E1012: Type mismatch; expected list<number> but got dict<unknown>', 2)
616 var d: dict<number>
620 var d2: dict<number>
628 var d: dict<string> = test_null_dict()
790 var dict1: dict<bool> = {one: false, two: true}
791 var dict2: dict<number> = {one: 1, two: 2}
792 var dict3: dict<string> = {key: 'value'}
793 var dict4: dict<any> = {one: 1, two: '2'}
794 var dict5: dict<blob> = {one: 0z01, two: 0z02}
802 # member "any" can also be a dict and assigned to
803 var anydict: dict<any> = {nest: {}, nr: 0}
841 # type becomes dict<any>
844 # assignment to script-local dict
847 var test: dict<any> = {}
848 def FillDict(): dict<any>
858 var test: dict<any>
859 def FillDict(): dict<any>
868 # assignment to global dict
872 def FillDict(): dict<any>
880 # assignment to buffer dict
884 def FillDict(): dict<any>
974 var thedict: dict<any>
1195 …CheckDefFailure(['var name: dict<string> = {key: 123}'], 'expected dict<string> but got dict<numbe…
1196 …CheckDefFailure(['var name: dict<number> = {key: "xx"}'], 'expected dict<number> but got dict<stri…
1201 CheckDefFailure(['var name: dict <number>'], 'E1068:')
1202 CheckDefFailure(['var name: dict<number'], 'E1009:')
1205 CheckDefFailure(['var name: dict<number'], 'E1009:')
1249 var d: dict<string> = {}
1257 var nrd: dict<number> = {}
1270 …CheckDefFailure(["var d: dict<number> = {a: '', b: true}"], 'E1012: Type mismatch; expected dict<n…
1271 …efFailure(["var d: dict<dict<number>> = {x: {a: '', b: true}}"], 'E1012: Type mismatch; expected d…
1302 var ds: dict<string> = {a: 'x'}
1307 var dn: dict<number> = {a: 9}
1333 var dd: dict<dict<list<any>>>
1385 var dd: dict<dict<list<any>>>
1556 var s:dict = {['a']: 222}
1558 g:dict_val = s:dict[key]
1562 final adict: dict<string> = {}
1637 const cdict: dict<string> = {}
1743 var s:d: dict<number>
1766 var dd: dict<number>
1800 # dict unlet
1857 # list of dict unlet