Skip to content

Commit

Permalink
Merge pull request #553 from sgrekhov/master
Browse files Browse the repository at this point in the history
Fix order of modifiers in code example
  • Loading branch information
leafpetersen authored Aug 30, 2019
2 parents e301034 + 8e39ad2 commit 99a9092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions accepted/future-releases/nnbd/feature-specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,13 +421,13 @@ throws. For example:
```
class A {
final late int x;
late final int x;
}
class B extends A {
int get x => 3;
}
class C extends A {
final late int x = 3;
late final int x = 3;
}
void test() {
Expect.throws(() => new B().x = 3);
Expand Down

0 comments on commit 99a9092

Please sign in to comment.