[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug Compiler/26900] Union constructors are not aware of field coupling
From: |
jose.marchesi at oracle dot com |
Subject: |
[Bug Compiler/26900] Union constructors are not aware of field coupling |
Date: |
Sat, 14 Nov 2020 19:18:36 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26900
--- Comment #1 from Jose E. Marchesi <jose.marchesi at oracle dot com> ---
+ However, it seems to me that if the user provides an initial value in
+ an union constructor, she is definitely interested in using that
+ alternative, and no other, and thus the union constructors should
+ _not_ try other alternatives in case the new value violates a
+ constraint. This is the solution!
--
You are receiving this mail because:
You are on the CC list for the bug.