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
Milestone

Comments

@DanielMorsing
Copy link
Contributor

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
Copy link
Contributor

Comment 1:

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

@adonovan
Copy link
Member

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants