Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve literal formatting in "Did you mean ...?" #10767

Closed

Commits on Nov 14, 2021

  1. Preserve literal formatting in "Did you mean ...?"

    Before:
    
        1 | let _ = Int64.(add 0xAA_BBl 2L);;
                               ^^^^^^^^
        Error: This expression has type int32 but an expression was expected of type
                 int64
          Hint: Did you mean `43707L'?
    
    After:
    
        1 | let _ = Int64.(add 0xAA_BBl 2L);;
                               ^^^^^^^^
        Error: This expression has type int32 but an expression was expected of type
                 int64
          Hint: Did you mean `0xAA_BBL'?
    curiousleo committed Nov 14, 2021
    Configuration menu
    Copy the full SHA
    480af00 View commit details
    Browse the repository at this point in the history