-
Notifications
You must be signed in to change notification settings - Fork 24
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
[11/x] UseFileName::as_str
for source file name to avoid enclosing virtual filenames in brackets
#220
Conversation
Having thought about this some more, I think actually we should tackle this issue a bit differently. See my comment here. I'm going to leave this marked approved for now, so we can merge it as a temporary workaround, but the fundamental issue here requires a more appropriate fix I think. We can address it properly in another PR, or in this one, whichever you think is more appropriate. |
cbb7e91
to
3ec7ed7
Compare
91adfc2
to
e511221
Compare
I'm not sure if I follow. I'm using "unbracketed" name here to avoid compiler/codegen/masm/src/convert.rs Line 117 in 8b8117f
I suppose we can leave brackets but treat every module name there as raw ids. Is that the idea? |
Right, my bad, I got this one mixed in with other issues related to module/procedure paths |
e511221
to
9d08a68
Compare
3ec7ed7
to
bf08ddb
Compare
This PR is stacked on the #218 and should be merged after it
Use
FileName::as_str
for source name in Wasm translation to avoid<name>
(enclosed in brackets) which is produced byFileName::to_string
since the brackets are illegal in MASM module ids.