Skip to content
  • Milian Wolff's avatar
    Fix auto type-deduction for cases like 'auto a(1.1);'. · 81f6c1f0
    Milian Wolff authored
    This won't work for named variables in the paranthesis though,
    since that is detected as a function declaration then by the parser.
    The declaration builder has enough info to sort this out, but
    only sets parameter_is_initializer to true in the declarator, without
    actually creating an initializer AST node that could then be handled
    to figure out the type and such...
    
    CCBUG: 306183
    81f6c1f0