This returns a syntax error?

This:

#pragma strict
import System.Collections.Generic;

public var ingName : String;
public var ingTime : int;

public class AddIngredient extends Monobehaviour {

	var ingredients = new List.<Ingredient>();

	function OnTriggerEnter (Col : Collider) {

		if(Col.Tag("Ingredients")) {

			ingName = Col.gameObject.GetComponent(Ingredient).itemName;
			ingTime = Col.gameObject.GetComponent(Ingredient).cookTime;

			ingredients.Add(new Ingredient(ingName, ingTime);
			ingredients.Sort();
		}
	}
}

Returns this error:

Assets/AddIngredient.js(20,73): BCE0044: expecting ), found ‘;’.
Assets/AddIngredient.js(20,74): UCE0001: ‘;’ expected. Insert a semicolon at the end.

I can’t seem to find the error?

In the line

ingredients.Add(new Ingredient(ingName, ingTime);

You forgot to put a closing parenthesis. So try this instead:

ingredients.Add(new Ingredient(ingName, ingTime));