goplus / gop

The Go+ programming language is designed for engineering, STEM education, and data science. Our vision is to enable everyone to become a builder of the digital world.
https://goplus.org
Apache License 2.0
8.94k stars 546 forks source link

ast: fix (*ast.File).End check shadow no entry #1860

Closed visualfc closed 6 months ago

visualfc commented 6 months ago

fix (*ast.File).End bad result if classfile add shadow func Classfname.

example get.yap ast.File.End return last shadow func Classfname.End()

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.27%. Comparing base (f3b7a43) to head (da59ab6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1860 +/- ## ======================================= Coverage 93.27% 93.27% ======================================= Files 40 40 Lines 11597 11597 ======================================= Hits 10817 10817 Misses 623 623 Partials 157 157 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.