Skip to content
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

[Bug][Compiler-v2] duplicated error messages in conditional_drop_invalid.exp #12901

Closed
rahxephon89 opened this issue Apr 15, 2024 · 1 comment
Assignees
Labels
bug Something isn't working compiler-v2 stale-exempt Prevents issues from being automatically marked and closed as stale

Comments

@rahxephon89
Copy link
Contributor

πŸ› Bug

Duplicated error messages in conditional_drop_invalid.exp

error: value of type `M::Box<M::Box<M::R>>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:26
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚                          ^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<M::R>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:26
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚                          ^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<T>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:26
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚                          ^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<M::Box<M::R>>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:9
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<M::R>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:9
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<T>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:9
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<M::Box<M::R>>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:61
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚                                                             ^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<M::R>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:61
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚                                                             ^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<T>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:61
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚                                                             ^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<M::Box<M::R>>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:44
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<M::R>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:44
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<T>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:44
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<M::Box<M::R>>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:9
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<M::Box<T>>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:9
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<M::R>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:9
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

error: value of type `M::Box<T>` does not have the `drop` ability
   β”Œβ”€ tests/ability-check/v1-typing/conditional_drop_invalid.move:20:9
   β”‚
20 β”‚         Box<Box<T>> { f: Box { f: t } } == Box<Box<T>> { f: Box { f: t} };
   β”‚         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ operator drops value here (consider borrowing the argument)

@rahxephon89 rahxephon89 added bug Something isn't working stale-exempt Prevents issues from being automatically marked and closed as stale compiler-v2 labels Apr 15, 2024
@fEst1ck
Copy link
Contributor

fEst1ck commented Apr 29, 2024

Fixed by #12973

@fEst1ck fEst1ck closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler-v2 stale-exempt Prevents issues from being automatically marked and closed as stale
Projects
Status: βœ… Done
Development

No branches or pull requests

2 participants