Modify

Opened 5 years ago

Closed 5 years ago

#3810 closed Bug (Fixed)

_ArrayUnique not handling "Default" for Parameter $iIntType

Reported by: SEuBo Owned by: J-Paul Mesnage
Milestone: 3.3.15.4 Component: AutoIt
Version: 3.3.14.5 Severity: None
Keywords: Cc:

Description

_ArrayUnique is missing a line

	If $iIntType = Default Then $iIntType = $ARRAYUNIQUE_AUTO

thus returning @error = 5, when the parameter is supplied with 'Default'

Local $aArray[3] = [1, 2, 3]

; This fails:
_ArrayUnique($aArray, Default, Default, Default, Default, Default) 

; This works:
_ArrayUnique($aArray, Default, Default, Default, Default)

Attachments (0)

Change History (1)

comment:1 by J-Paul Mesnage, 5 years ago

Milestone: 3.3.15.4
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed by revision [12498] in version: 3.3.15.4

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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