Unverified Commit 80364887 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Add an override annotation to the lineTerminator setter in the MemoryStdout fake class (#143646)

This is required by a new API recently added to Dart.

See https://github.com/flutter/flutter/issues/143614
parent 8a5efa53
......@@ -196,6 +196,8 @@ class MemoryStdout extends MemoryIOSink implements io.Stdout {
@override
// ignore: override_on_non_overriding_member
String get lineTerminator => '\n';
@override
// ignore: override_on_non_overriding_member
set lineTerminator(String value) {
throw UnimplementedError('Setting the line terminator is not supported');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment