FATAL error generated from compiler for type int.

Compiler generates a FATAL for the following program

var sum1 = 0.0;
var sum : int = 0;

sum1 = 4.0;
sum = (int)(sum1);

internal error: FUN5894 chpl Version X.XX.X

Compiler treat (int) as a constructor call for int taking
a real argument.  This should generate an error message.