@@ -16,40 +16,41 @@ import (
1616// cacheVersions is a magic number that helps to distinguish incompatible caches.
1717//
1818// Version log:
19- // 27 - added Static field to meta.FuncInfo
20- // 28 - array type parsed as mixed[]
21- // 29 - updated type inference for ClassConstFetch
22- // 30 - resolve ClassConstFetch to a wrapped type string
23- // 31 - fixed plus operator type inference for arrays
24- // 32 - replaced Static:bool with Flags:uint8 in meta.FuncInfo
25- // 33 - support parsing of array<k,v> and list<type>
26- // 34 - support parsing of ?ClassName as "ClassName|null"
27- // 35 - added Flags:uint8 to meta.ClassInfo
28- // 36 - added FuncAbstract bit to FuncFlags
29- // added FuncFinal bit to FuncFlags
30- // added ClassFinal bit to ClassFlags
31- // FuncInfo now stores original function name
32- // ClassInfo now stores original class name
33- // 37 - added ClassShape bit to ClassFlags
34- // changed meta.scopeVar bool fields representation
35- // 38 - replaced TypesMap.immutable:bool with flags:uint8.
36- // added mapPrecise flag to mark precise type maps.
37- // 39 - added new field Value in ConstantInfo
38- // 40 - changed string const value storage (no quotes)
39- // 41 - const-folding affected const definition values
40- // 42 - bool-typed consts are now stored in meta info
41- // 43 - define'd const values stored in cache
42- // 44 - rename ConstantInfo => ConstInfo
43- // 45 - added Mixins field to meta.ClassInfo
44- // 46 - changed the way of inferring the return type of functions and methods
45- // 47 - forced cache version invalidation due to the #921
46- // 48 - renamed meta.TypesMap to types.Map; this affects gob encoding
47- // 49 - for shape, names are now generated using the keys that make up this shape
48- // 50 - added Flags field for meta.PropertyInfo
49- // 51 - added anonymous classes
50- // 52 - renamed all PhpDoc and Phpdoc with PHPDoc
51- // 53 - added DeprecationInfo for functions and methods and support for some attributes
52- // 54 - forced cache version invalidation due to the #1165
19+ //
20+ // 27 - added Static field to meta.FuncInfo
21+ // 28 - array type parsed as mixed[]
22+ // 29 - updated type inference for ClassConstFetch
23+ // 30 - resolve ClassConstFetch to a wrapped type string
24+ // 31 - fixed plus operator type inference for arrays
25+ // 32 - replaced Static:bool with Flags:uint8 in meta.FuncInfo
26+ // 33 - support parsing of array<k,v> and list<type>
27+ // 34 - support parsing of ?ClassName as "ClassName|null"
28+ // 35 - added Flags:uint8 to meta.ClassInfo
29+ // 36 - added FuncAbstract bit to FuncFlags
30+ // added FuncFinal bit to FuncFlags
31+ // added ClassFinal bit to ClassFlags
32+ // FuncInfo now stores original function name
33+ // ClassInfo now stores original class name
34+ // 37 - added ClassShape bit to ClassFlags
35+ // changed meta.scopeVar bool fields representation
36+ // 38 - replaced TypesMap.immutable:bool with flags:uint8.
37+ // added mapPrecise flag to mark precise type maps.
38+ // 39 - added new field Value in ConstantInfo
39+ // 40 - changed string const value storage (no quotes)
40+ // 41 - const-folding affected const definition values
41+ // 42 - bool-typed consts are now stored in meta info
42+ // 43 - define'd const values stored in cache
43+ // 44 - rename ConstantInfo => ConstInfo
44+ // 45 - added Mixins field to meta.ClassInfo
45+ // 46 - changed the way of inferring the return type of functions and methods
46+ // 47 - forced cache version invalidation due to the #921
47+ // 48 - renamed meta.TypesMap to types.Map; this affects gob encoding
48+ // 49 - for shape, names are now generated using the keys that make up this shape
49+ // 50 - added Flags field for meta.PropertyInfo
50+ // 51 - added anonymous classes
51+ // 52 - renamed all PhpDoc and Phpdoc with PHPDoc
52+ // 53 - added DeprecationInfo for functions and methods and support for some attributes
53+ // 54 - forced cache version invalidation due to the #1165
5354const cacheVersion = 54
5455
5556var (
0 commit comments