Skip to content

Stale VERSION file inside the SDK shipped with Flutter #15348

@DanTup

Description

@DanTup

Dart Code displays the contents of the VERSION file in the Dart SDK in the status bar. Sometime recently (possibly when Flutter switched to making its own SDK builds) it seems that this file became stale:

Dannys-MacBook:~ danny$ flutter --version
Flutter 0.1.6-pre.3 • channel master • https://github.com/DanTup/flutter.git
Framework • revision 7f03b9e41b (2 weeks ago) • 2018-02-23 12:49:57 -0800
Engine • revision ead227f118
Tools • Dart 2.0.0-dev.28.0.flutter-0b4f01f759
Dannys-MacBook:~ danny$ cat /Users/danny/Dev/Google/flutter/bin/cache/dart-sdk/version
2.0.0-edge.0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0

The Dart SDK revision is 0b4f01f759 (confirmed by running dart --version) so not sure why the file is bad.

Dart Code uses this files because it's faster (and less troublesome) than spawning a process.

Metadata

Metadata

Labels

dependency: dartDart team may need to help usengineflutter/engine related. See also e: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions