Feedback
Unclear runtime error when accessing a member on Nothing
- Status
- Fixed
- Fixed in
- v26.5.8
- Last updated
- 2026-06-01
Public summary
Accessing a property or method through a reference that is Nothing produced the unclear runtime diagnostic Only instances have fields. The runtime now reports a NothingReferenceException with a message that explains the receiver is Nothing, such as Cannot set property 'Width' because the receiver is Nothing.