Skip to content

Commit

Permalink
moving InlinedList to field in Func -- main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
brigadier-general authored Jun 10, 2024
1 parent f5dc310 commit ad709c6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,6 @@ restartParseWithRealTextBase:
}
}

// TODO -- move var above so we don't have to re-read the whole file
fileData, _ := os.ReadFile(fileName)
// TODO -- use error or remove
for _, elem := range finalTab.ParsedPclntab.Funcs {
if isStdPackage(elem.PackageName()) {
if printStdPkgs {
Expand All @@ -307,7 +304,7 @@ restartParseWithRealTextBase:
End: elem.End,
PackageName: elem.PackageName(),
FullName: elem.Name,
InlinedList: elem.CheckInline(moduleData.Gofunc, fileData),
InlinedList: elem.InlinedList,

Check failure on line 307 in main.go

View workflow job for this annotation

GitHub Actions / build

elem.InlinedList undefined (type gosym.Func has no field or method InlinedList)

Check failure on line 307 in main.go

View workflow job for this annotation

GitHub Actions / build

elem.InlinedList undefined (type gosym.Func has no field or method InlinedList)
})
}
}
Expand Down

0 comments on commit ad709c6

Please sign in to comment.