Closed EoinDavey closed 4 years ago
Níl an scóipeáil léacsach ag obair go ceart. Scríobhann an ríomhchlár seo 2
2
x := 0 gníomh a() { gníomh b() { toradh x } x := 2 toradh b } scríobh(a()())
Is é 0 an freagra ceart. Caithfímid "resolver pass" a dhéanamh sula dtosaítear an ríomhchlár
0
The lexical scoping is not working correctly. This program prints 2
0 is the correct answer. We have to do a resolver pass before the program is started.
Tosaíodh an obair ar brainse 10-binding
Níl an scóipeáil léacsach ag obair go ceart. Scríobhann an ríomhchlár seo
2
Is é
0
an freagra ceart. Caithfímid "resolver pass" a dhéanamh sula dtosaítear an ríomhchlárThe lexical scoping is not working correctly. This program prints 2
0 is the correct answer. We have to do a resolver pass before the program is started.