fasterthanlime/rock — pull request #845 by zhaihj (2014-10-17 03:15:39+00:00)
Title: support calling template function with typeargs

Currently the follow code can not be compiled:(segmentation fault)

foo: func(i: T) {
// do something
}

foo(1)

It turns out that there's no code handling typeargs in nagaqueen(grammer).
This patch just make this compilable but many thing left to be done, such as typearg check and better resolve based on type information.

See also:
https://github.com/fasterthanlime/nagaqueen/pull/26