summaryrefslogtreecommitdiffhomepage
path: root/dart.html.markdown
diff options
context:
space:
mode:
authorMax Schumacher <maximilianbschumacher@gmail.com>2020-07-08 14:12:31 +0200
committerGitHub <noreply@github.com>2020-07-08 14:12:31 +0200
commit426c18154211c19750f6216b9f56e92b1e8b6fd2 (patch)
tree73171f51e1fbabe5fd291c53d8d7c03001879c49 /dart.html.markdown
parenteb0fa0158b97f533dfbe4f34f550af0cc4b2af19 (diff)
parent2cbe4b53c60233755ee54478475b0155eacecdc8 (diff)
Merge pull request #3879 from Hiyorimi/patch-2
[dart/en-en] Updated example 9: made 'i' variable non-final
Diffstat (limited to 'dart.html.markdown')
-rw-r--r--dart.html.markdown2
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;