Created
September 7, 2017 15:19
-
-
Save anonymous/6455862bc1e0bae6e43eb71026431360 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
// Doesn't work | |
// lucee.runtime.type.ArrayImpl cannot be cast to lucee.runtime.type.Struct | |
function doSomething() { | |
structFilter( arguments, function() { | |
return true; | |
} ); | |
} | |
doSomething( 'foo', 'bar' ); | |
// Doesn't work | |
// can't cast [foo] string to a number value | |
function doSomething2( foo, bar ) { | |
structFilter( arguments, function() { | |
return true; | |
} ); | |
} | |
doSomething2( 'foo', 'bar' ); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment