Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/cmd/eg: No way to rewrite expressions that include unexported identifiers #7862

Open
DanielMorsing opened this issue Apr 24, 2014 · 2 comments

Comments

Projects
None yet
5 participants
@DanielMorsing
Copy link
Contributor

commented Apr 24, 2014

Because of the way that eg parses the template files, you can't refer to unexported
identifiers inside the before and after functions.

Possibility is to include the package files when parsing the template file, so that it
can refer to the unexported identifiers.
@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented May 9, 2014

Comment 1:

Labels changed: added repo-tools, release-none.

@adonovan

This comment has been minimized.

Copy link

commented Jul 10, 2014

Comment 2:

Owner changed to @adonovan.

@bradfitz bradfitz removed the new label Dec 18, 2014

@rsc rsc added this to the Unplanned milestone Apr 10, 2015

@rsc rsc removed the release-none label Apr 10, 2015

@rsc rsc changed the title go.tools/cmd/eg: No way to rewrite expressions that include unexported identifiers x/tools/cmd/eg: No way to rewrite expressions that include unexported identifiers Apr 14, 2015

@rsc rsc modified the milestones: Unreleased, Unplanned Apr 14, 2015

@rsc rsc removed the repo-tools label Apr 14, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.