-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.triagedIssue has been triaged by sub teamIssue has been triaged by sub team
Description
When Flutter compiles Dart it uses -Wnewline-eof, supposedly to match fuchsia:
https://github.com/flutter/flutter/blob/8893670e159698ae57307bf72922f1f1c8ee7d48/engine/src/build/config/clang/BUILD.gn#L22
Dart doesn't use this flag (understandably), but it makes it so when you add a file in Dart you risk only realizing you're going to break the build in Flutter when you roll, rather than when you add the file.
For Shorebird we've fixed this by adding this flag, but I'm not sure I've done it in the right place. Will send a PR shortly.
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.triagedIssue has been triaged by sub teamIssue has been triaged by sub team