Ticket #68 (closed feature request: wontfix)
Warnings for unitialized fields
| Reported by: | nobody | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | _|_ |
| Component: | Compiler | Version: | None |
| Keywords: | warnings | Cc: | stefan@… |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Easy (less than 1 hour) |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description (last modified by simonmar) (diff)
Would it be possible to add flag to disable warnings for unitialized fields just when using constructor with zero fields? I mean, if I use
Foo {}
to construct empty record, it is a bit unpleasant that I get flooded by dozens of useless warnings; but I don't want to disable them -- they are useful when I forget to initialize some field(s).
Zdenek Dvorak
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

