-
Notifications
You must be signed in to change notification settings - Fork 4
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
nasty edge cases #9
Comments
Merged
Seems many of the standard library changes come from the symbol aliases. Perhaps these could be replaced with less common strings. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Collection of edge cases that are not handled well. See also #3.
Chained super/subscripts:
For example in
x/crypto/pkcs12
:https://github.com/golang/crypto/blob/c9f3fb736b729628ec1e9c1a6b4313e883f452f9/pkcs12/pbkdf.go#L38
Punctuation prior:
For example:
https://github.com/golang/crypto/blob/c9f3fb736b729628ec1e9c1a6b4313e883f452f9/pkcs12/pbkdf.go#L108
Tables:
In the below, the
-+
gets replaced with a "MINUS-PLUS" symbol.https://github.com/golang/go/blob/f770366f6d910e4bf92a6f885908afe134d65b23/src/archive/tar/format.go#L19-L22
Channel syntax:
Source code in a comment replaced with a unicode arrow.
https://github.com/golang/go/blob/f770366f6d910e4bf92a6f885908afe134d65b23/src/builtin/buil
tin.go#L218
Quoted strings:
https://github.com/golang/go/blob/f770366f6d910e4bf92a6f885908afe134d65b23/src/cmd/asm/internal/asm/parse.go#L610-L615
Comment dividers:
https://github.com/golang/go/blob/f770366f6d910e4bf92a6f885908afe134d65b23/src/math/log1p.go#L7-L19
Windows filepaths:
Can be interpreted as LaTeX symbols:
https://github.com/golang/go/blob/f770366f6d910e4bf92a6f885908afe134d65b23/src/path/filepath/symlink_windows.go#L52-L56
The text was updated successfully, but these errors were encountered: