diff options
| author | Schuyler Eldridge | 2018-10-25 16:40:59 -0400 |
|---|---|---|
| committer | Schuyler Eldridge | 2018-11-05 15:58:14 -0500 |
| commit | 2fdc984223393ee4996f7f7fde8d6b12c9fe36c3 (patch) | |
| tree | 0b7ae45a3901986a40bf06abad24adf3ea6fe15d /src/test/resources/features/HasDeadCode.fir | |
| parent | a5c3589e7bd680bcf7db25e8fd3282d73c5e24ae (diff) | |
Better error message for UninferredWidth exception
This changes the CheckTypes.UniferredWidth exception to include the pretty
printed Target that was uninferred and suggests to the user that they may
have forgotten to assign to it. This changes the CheckTypes pass to
communicate the necessary Target information during AST traversal such
that when an uninferred width is found, the Target is known and available.
This also adds one test checking the message of the UniferredWidth
exception.
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'src/test/resources/features/HasDeadCode.fir')
0 files changed, 0 insertions, 0 deletions
