News for hackers. Stuff that matters.
Re:Perl Cannot Be Parsed: A Formal Proof by pmjordan on Friday August 14, 2009 @05:57PM (#763928)
Yes, but my argument is that such an instantiation could easily be determined automatically. The declaration

  T::bar x;
makes no sense under any circumstances if T::bar is not a type. Ergo, putting typename in front is redundant.
Re:Perl Cannot Be Parsed: A Formal Proof by haberman on Friday August 14, 2009 @07:47PM (#764100)
Yes but what if your declaration was:

    T::bar * x;
Now the parse is ambiguous. While the language could say "you only need to use typename if the declaration would otherwise be ambiguous," it's simpler and more consistent to say "all qualified dependent types must use typename."