|
|
|
|
|
by airless_cotton
3735 days ago
|
|
(Sorry, forgot password to my old account.) Orphan warnings tell you that you defined an instance in the wrong place. Things you don't receive warnings for: - Defining the same instance twice.
- Having code which uses both instances.
Those two should be hard compiler errors, because they break data structures at runtime and make code behave incorrectly.Sorry, orphan warnings are multiple magnitudes of escalation levels away from what should happen and are focused on something different (code hygiene vs. THIS-CODE-IS-WRONG-AND-BROKEN-AND-WILL-CORRUPT-SHIT-AT-RUNTIME-I-WILL-FAIL-TO-COMPILE-THIS). |
|