Skip to content

runtime: odd expression #12802

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

Closed
hallas opened this issue Oct 1, 2015 · 2 comments
Closed

runtime: odd expression #12802

hallas opened this issue Oct 1, 2015 · 2 comments

Comments

@hallas
Copy link

hallas commented Oct 1, 2015

I was looking through the source code, as I often do, and today I found this line which struck me as odd.

https://github.com/golang/go/blob/master/src/runtime/extern.go#L139

1+skip-1

Which seems redundant but maybe this is some kind of compiler trick?

@ianlancetaylor
Copy link
Contributor

We use the issue tracker for bug reports. Please ask questions on the golang-nuts mailing list or on forum.golangbridge.org. Thanks.

@minux
Copy link
Member

minux commented Oct 1, 2015 via email

@golang golang locked and limited conversation to collaborators Oct 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants