Modify

#3873 assigned Feature Request

DllStruct dot access non existent element should be a fatal error

Reported by: matwachich@… Owned by: Jon
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

When accessing a dllstruct like this $tStruct.field, if field doesn't exists in the struct, a fatal error should be thrown by AutoIt interpreter.

This is to avoid obscure and hard to find bugs.

Attachments (0)

Change History (3)

comment:1 by TicketCleanup, on Apr 4, 2022 at 5:00:02 PM

Version: 3.3.16.0

Automatic ticket cleanup.

comment:2 by Jpm, on Apr 9, 2022 at 2:39:17 PM

Owner: set to Jpm
Status: newassigned

Added Opt("dllstructMode, 1) to force fatal error
Fix sent to Jon

comment:3 by Jpm, on Mar 16, 2024 at 10:23:15 AM

Owner: changed from Jpm to Jon

Modify Ticket

Action
as assigned The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.