ioregs: field enumerations does not work. #146
Comments
Can you post the errors? Or can you just make up that PR for the watchdog and we can look at the whole thing. |
@dpc seems like this will need a rebase. |
Meh, never mind; that was trivial enough. |
@dpc oh dear. It seems enum Hi1 {Seq1 = 1}
enum Hi2 {Seq1 = 1} which fails quite similarly,
This is quite unfortunate. |
For now I suspect the only solution is to ensure that |
As demonstrated in hackndev#146 this is sometimes useful even outside of the `zinc` crate.
The problem with colliding names is something else. (but would be nice if these could have namespaces too). I've introduced it before pushing, silly me. After renaming you will get:
|
@bgamari: I've reproduced your changes and this works for me now. Thanks. It is weird what is going on here, especially the part of compiler hanging and making system swap insanely after a while. |
@dpc Odd indeed. I saw similar behavior around a month ago when the documentation lint would start spewing lots of allocations. That doesn't seem to be what's happening here though. |
@dpc are you comfortable closing this or do you suspect this issue still lurks? |
It seems to me this compiler hang is still there in the erroneous situation On Thu, Aug 28, 2014 at 3:40 AM, Ben Gamari notifications@github.com
Dawid Ciężarkiewicz |
@dpc Do you think you could try to come up with a minimal reproduction case? It might be good to bring this upstream. |
I will try. On Thu, Aug 28, 2014 at 12:00 PM, Ben Gamari notifications@github.com
Dawid Ciężarkiewicz |
Any progress on this? |
I'm going to close this for now. Let me know if you can produce a test case. |
I'm trying to get this to work:
dpc@2b537ce#diff-76fb405a406228f49ec4fac481c36bf4R46
but it produces compiler errors that make no sense.
The text was updated successfully, but these errors were encountered: