Skip to content
  • Alan Zimmerman's avatar
    09b6cb45
    Fix panic trying to -ddump-parsed-ast for implicit fixity · 09b6cb45
    Alan Zimmerman authored and Marge Bot's avatar Marge Bot committed
    A declaration such as
    
        infixr ++++
    
    is supplied with an implicit fixity of 9 in the parser, but uses
    an invalid SrcSpan to capture this. Use of this span triggers a panic.
    
    Fix the problem by not recording an exact print annotation for the
    non-existent fixity source.
    
    Closes #20846
    09b6cb45
    Fix panic trying to -ddump-parsed-ast for implicit fixity
    Alan Zimmerman authored and Marge Bot's avatar Marge Bot committed
    A declaration such as
    
        infixr ++++
    
    is supplied with an implicit fixity of 9 in the parser, but uses
    an invalid SrcSpan to capture this. Use of this span triggers a panic.
    
    Fix the problem by not recording an exact print annotation for the
    non-existent fixity source.
    
    Closes #20846
Loading