1%Error-ENCAPSULATED: t/t_class_local_bad.v:71:20: 'm_loc' is hidden as 'local' within this context (IEEE 1800-2017 8.18)
2                                                : ... In instance t
3   71 |       bad(); if (c.m_loc != 2) $stop;
4      |                    ^~~~~
5                     t/t_class_local_bad.v:71:20: ... Location of definition
6   15 |    local int m_loc = 2;
7      |              ^~~~~
8                     ... For error description see https://verilator.org/warn/ENCAPSULATED?v=latest
9%Error-ENCAPSULATED: t/t_class_local_bad.v:72:20: 'm_prot' is hidden as 'protected' within this context (IEEE 1800-2017 8.18)
10                                                : ... In instance t
11   72 |       bad(); if (c.m_prot != 20) $stop;
12      |                    ^~~~~~
13                     t/t_class_local_bad.v:72:20: ... Location of definition
14   16 |    protected int m_prot = 3;
15      |                  ^~~~~~
16%Error-ENCAPSULATED: t/t_class_local_bad.v:74:20: 'm_loc' is hidden as 'local' within this context (IEEE 1800-2017 8.18)
17                                                : ... In instance t
18   74 |       bad(); if (e.m_loc != 2) $stop;
19      |                    ^~~~~
20                     t/t_class_local_bad.v:74:20: ... Location of definition
21   15 |    local int m_loc = 2;
22      |              ^~~~~
23%Error-ENCAPSULATED: t/t_class_local_bad.v:75:20: 'm_prot' is hidden as 'protected' within this context (IEEE 1800-2017 8.18)
24                                                : ... In instance t
25   75 |       bad(); if (e.m_prot != 20) $stop;
26      |                    ^~~~~~
27                     t/t_class_local_bad.v:75:20: ... Location of definition
28   16 |    protected int m_prot = 3;
29      |                  ^~~~~~
30%Error-ENCAPSULATED: t/t_class_local_bad.v:77:16: 'f_loc' is hidden as 'local' within this context (IEEE 1800-2017 8.18)
31                                                : ... In instance t
32   77 |       bad(); c.f_loc();
33      |                ^~~~~
34                     t/t_class_local_bad.v:77:16: ... Location of definition
35   18 |    local task f_loc; endtask
36      |               ^~~~~
37%Error-ENCAPSULATED: t/t_class_local_bad.v:78:16: 'f_prot' is hidden as 'protected' within this context (IEEE 1800-2017 8.18)
38                                                : ... In instance t
39   78 |       bad(); c.f_prot();
40      |                ^~~~~~
41                     t/t_class_local_bad.v:78:16: ... Location of definition
42   19 |    protected task f_prot; endtask
43      |                   ^~~~~~
44%Error-ENCAPSULATED: t/t_class_local_bad.v:80:16: 's_loc' is hidden as 'local' within this context (IEEE 1800-2017 8.18)
45                                                : ... In instance t
46   80 |       bad(); c.s_loc();
47      |                ^~~~~
48                     t/t_class_local_bad.v:80:16: ... Location of definition
49   21 |    static local task s_loc; endtask
50      |                      ^~~~~
51%Error-ENCAPSULATED: t/t_class_local_bad.v:81:16: 's_prot' is hidden as 'protected' within this context (IEEE 1800-2017 8.18)
52                                                : ... In instance t
53   81 |       bad(); c.s_prot();
54      |                ^~~~~~
55                     t/t_class_local_bad.v:81:16: ... Location of definition
56   22 |    static protected task s_prot; endtask
57      |                          ^~~~~~
58%Error-ENCAPSULATED: t/t_class_local_bad.v:83:19: 's_loc' is hidden as 'local' within this context (IEEE 1800-2017 8.18)
59                                                : ... In instance t
60   83 |       bad(); Cls::s_loc();
61      |                   ^~~~~
62                     t/t_class_local_bad.v:83:19: ... Location of definition
63   21 |    static local task s_loc; endtask
64      |                      ^~~~~
65%Error-ENCAPSULATED: t/t_class_local_bad.v:84:19: 's_prot' is hidden as 'protected' within this context (IEEE 1800-2017 8.18)
66                                                : ... In instance t
67   84 |       bad(); Cls::s_prot();
68      |                   ^~~~~~
69                     t/t_class_local_bad.v:84:19: ... Location of definition
70   22 |    static protected task s_prot; endtask
71      |                          ^~~~~~
72%Error-ENCAPSULATED: t/t_class_local_bad.v:47:18: 'm_loc' is hidden as 'local' within this context (IEEE 1800-2017 8.18)
73                                                : ... In instance t
74   47 |       bad(); if (m_loc != 10) $stop;
75      |                  ^~~~~
76                     t/t_class_local_bad.v:47:18: ... Location of definition
77   15 |    local int m_loc = 2;
78      |              ^~~~~
79%Error-ENCAPSULATED: t/t_class_local_bad.v:50:14: 'f_loc' is hidden as 'local' within this context (IEEE 1800-2017 8.18)
80                                                : ... In instance t
81   50 |       bad(); f_loc();
82      |              ^~~~~
83                     t/t_class_local_bad.v:50:14: ... Location of definition
84   18 |    local task f_loc; endtask
85      |               ^~~~~
86%Error-ENCAPSULATED: t/t_class_local_bad.v:53:16: 'f_loc' is hidden as 'local' within this context (IEEE 1800-2017 8.18)
87                                                : ... In instance t
88   53 |       bad(); o.f_loc();
89      |                ^~~~~
90                     t/t_class_local_bad.v:53:16: ... Location of definition
91   18 |    local task f_loc; endtask
92      |               ^~~~~
93%Error-ENCAPSULATED: t/t_class_local_bad.v:56:14: 's_loc' is hidden as 'local' within this context (IEEE 1800-2017 8.18)
94                                                : ... In instance t
95   56 |       bad(); s_loc();
96      |              ^~~~~
97                     t/t_class_local_bad.v:56:14: ... Location of definition
98   21 |    static local task s_loc; endtask
99      |                      ^~~~~
100%Error-ENCAPSULATED: t/t_class_local_bad.v:59:19: 's_loc' is hidden as 'local' within this context (IEEE 1800-2017 8.18)
101                                                : ... In instance t
102   59 |       bad(); Cls::s_loc();
103      |                   ^~~~~
104                     t/t_class_local_bad.v:59:19: ... Location of definition
105   21 |    static local task s_loc; endtask
106      |                      ^~~~~
107%Error: Exiting due to
108