How do I make a Unityscript Dictionary with key= gameObject and value=list of gameObjects

I’m having trouble making a dictionary in unityscript that is in this form…

Gameobject, List of GameObjects…

Here’s my try that fails syntax checking in unity:

var Dict=new Dictionary.<GameObject,List.<GameObject>>();

That looks right to me, but I would personally use an explicit declaration. Also you must make sure that you are importing the corresponding namespace:

import System.Collections.Generic;

// ...

var Dict:Dictionary.< GameObject, List.<GameObject> >
    = new Dictionary.< GameObject, List.<GameObject> >();

In javascript/unityscript you need to use an extra space between the last two > symbols for some reason like this

 var Dict=new Dictionary.<GameObject,List.<GameObject> >();