Issue 9374 - 'super' should be accessible inside template constraint

http://d.puremagic.com/issues/show_bug.cgi?id=9374