允许使用重名变量(变量遮蔽) #9

Open
opened 2023-09-02 03:24:43 +00:00 by szTom · 0 comments
Collaborator

内层作用域的变量将可以“遮蔽”外层作用域的同名变量,此时外层变量在内层作用域内无法访问。

参考测试用例

w = z;
return Fn<>(h: a) -> c {
w = y;
(现在该测试用例失败)

内层作用域的变量将可以“遮蔽”外层作用域的同名变量,此时外层变量在内层作用域内无法访问。 参考测试用例 https://git.gzezfisher.top/ez_lcw/acpa/src/commit/f064be919210082807417f5b2b87c0c337ece5d7/tests/ok/var-shadow.ac#L4-L6 (现在该测试用例失败)
szTom added the
bug
label 2023-09-02 03:24:43 +00:00
szTom added this to the 9月迭代计划 project 2023-09-02 03:24:43 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ez_lcw/acpa#9
No description provided.