[cs] added working test (thanks to Simon's patch)


git-svn-id: http://haxe.googlecode.com/svn/trunk@6257 f16182fa-f095-11de-8f43-4547254af6c6
[java/cs] Fixed issue #1271


git-svn-id: http://haxe.googlecode.com/svn/trunk@6258 f16182fa-f095-11de-8f43-4547254af6c6
infer type parameters of @:from functions (fixed issue #1516)

git-svn-id: http://haxe.googlecode.com/svn/trunk@6259 f16182fa-f095-11de-8f43-4547254af6c6
Merge branch 'haxe/master'