﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3200	Ternary operator for functions	anonymous		"It looks like Au3Check error, because AutoIt runs this script without errors
{{{
$v = 0
$v ? _F1() : _F0()

Func _F1()
  MsgBox(0, """", 1)
EndFunc

Func _F0()
  MsgBox(0, """", 0)
EndFunc
}}}

{{{
>Running AU3Check (3.3.14.2)  from:d:\AutoIt3  input:D:\test.au3
""D:\test.au3""(2,19) : error: Statement cannot be just an expression.
$v ? _F1() : _F0()
~~~~~~~~~~~~~~~~~~^
D:\test.au3 - 1 error(s), 0 warning(s)
!>17:39:20 AU3Check ended. Press F4 to jump to next error.rc:2
}}}
"	Bug	closed		Au3Check	3.3.14.2	None	No Bug	Ternary	
