decaf-lang / decaf-lang/minidecaf

step8的循环中作用域问题

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
68
Forks
12
PR merge metrics
No merged PRs in 30d

Description

代码159-162行,233-235行,在访问循环体时,应该同时开一个新的作用域。

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the step8 loop handling at lines 159-162 and 233-235, focusing on how the loop body is entered and how scopes are managed. Confirm the expected scope behavior from nearby compiler code before making changes. Done means each loop body is entered with a new scope and existing scope-related behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.