Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Aaron Neff / ()
Created: 05/05/2018
Components: Language, Null Support
Versions: 2018
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: 2018.0.01.308605 (PreRelease) / 2018,0,0,309297
Priority/Frequency: Normal / Some users will encounter
Locale/System: / Platforms All
Vote Count: 1
Issue: NULL support removes return type check
Repro:
1) enable NULL support via CF Admin or per-App setting, then run:
<cfscript>
array function f1(){}
f1()
f2 = function() returntype="array" {}
f2()
</cfscript>
Actual Result: blank page (and no return type check exceptions)
Expected Result: return type check exceptions
Attachments:
Comments: