rust-lang / lldb

No longer used, use https://github.com/rust-lang/llvm-project instead
Other
14 stars 6 forks source link

Incorrect type names in "types" test #24

Open tromey opened 5 years ago

tromey commented 5 years ago

The "types" test has:

    let voptenum = OptimizedEnum::Null;
    let voptenum2 = OptimizedEnum::NonNull(Box::new(7));

The test code says:

        mytypelist.append(('main::OptimizedEnum::Null', 'voptenum', address_size, '{}'))
        mytypelist.append(('main::OptimizedEnum::NonNull', 'voptenum2', address_size, None))

However with git master rustc, voptenum2 gets just main::OptimizedEnum here -- but voptenum still passes. One or the other of these is incorrect.