What is wrong with this code?
float x = 2.0; int(^foo)(int) = ^(int n1) { return (int)(n1*x); }; foo(5);
Nothing is wrong with this code.
Ints and floats can't be multiplied.
The parameter isn't declared correctly.
x is not in the right scope.