Re: [PATCH] Fix handling of discriminantless univariant enums in Rust

Manish Goregaokar
2016-10-30T03:36:06Z

Yes, I'm trying it with the followup patch. I kept them separate since
that's an independent bug that just affects univariant ones too. Will
roll them together.
-Manish

On Sat, Oct 29, 2016 at 8:34 PM, Tom Tromey <tom@tromey.com> wrote:
>>>>>> "Manish" == Manish Goregaokar <manish@mozilla.com> writes:
>
> Manish> `print univariant.a` works for me.
>
> I tried this patch and it failed the way I thought it would:
>
> print univariant.a
> Attempting to access named field a of tuple variant simple::Univariant::Foo, which has only anonymous fields
> (gdb) FAIL: gdb.rust/simple.exp: print univariant.a
>
>
> Maybe you're trying it with the follow-up patch installed?
> In that case I think the patches should probably be combined.
>
> Tom