diff options
author | Max Schumacher <maximilianbschumacher@gmail.com> | 2020-07-08 14:12:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-08 14:12:31 +0200 |
commit | 426c18154211c19750f6216b9f56e92b1e8b6fd2 (patch) | |
tree | 73171f51e1fbabe5fd291c53d8d7c03001879c49 | |
parent | eb0fa0158b97f533dfbe4f34f550af0cc4b2af19 (diff) | |
parent | 2cbe4b53c60233755ee54478475b0155eacecdc8 (diff) |
Merge pull request #3879 from Hiyorimi/patch-2
[dart/en-en] Updated example 9: made 'i' variable non-final
-rw-r--r-- | dart.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dart.html.markdown b/dart.html.markdown index 291f6764..b215474a 100644 --- a/dart.html.markdown +++ b/dart.html.markdown @@ -223,7 +223,7 @@ var newExplicitLists = explicitList.toList() // Converts Iterable<E> to List<E> /// supported features, starting with forEach,map and where. var example9Array = const ["a", "b"]; example9() { - for (final i = 0; i < example9Array.length; i++) { + for (int i = 0; i < example9Array.length; i++) { print("Example9 for loop '${example9Array[i]}'"); } var i = 0; |