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

Make "// @dart=" version comments affect the applied style. #1600

Merged
merged 1 commit into from
Nov 14, 2024

Commits on Nov 14, 2024

  1. Make "// @Dart=" version comments affect the applied style.

    The formatter uses an incoming language version to control how the
    formatted code is parsed. The langauge version is also used to
    determine whether you get the short or tall style.
    
    Prior to this PR, a "// @Dart=" version comment in the formatted code
    would affect the language version the code is parsed at. But it wouldn't
    use that comment to determine whether you get the short or tall style.
    This fixes that.
    
    Fix #1599.
    munificent committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    8b4bf6e View commit details
    Browse the repository at this point in the history