Internal compiler please help JS

FYI the code is in JS Here is the error :
Internal compiler error. See the console log for more information. output was:BCE0011: An error occurred during the execution of the step ‘Boo.Lang.Compiler.Steps.EmitAssembly’: ‘Empty name is not legal
Parameter name: fullname’.

Here is the code :
//The enemy you wan’t to move toward you if you get to close to it.
var enemy : Transform;
//The Player.
var player : Transform;
function Update () {
//If you get < less than 10 close to the enemy it will do
if ( Vector3.Distance(enemy.position, transform.position ) < 10 )
//This it moves toward the player every 1 second.
enemy.Translate(player.position * Time.deltaTime);

}
:face_with_spiral_eyes:

That code won’t generate any errors…you probably have an empty script in your project, so remove the empty script. Also, http://forum.unity3d.com/threads/143875-Using-code-tags-properly

–Eric

Thanks anyways