Version 2.10.0-87.0.dev
Merge commit 'eb8dfee10740a8d93c2f0fae8126244473fc9dbd' into 'dev'
diff --git a/pkg/front_end/test/spell_checking_cleanup_lists.dart b/pkg/front_end/test/spell_checking_cleanup_lists.dart
new file mode 100644
index 0000000..3cca7cb
--- /dev/null
+++ b/pkg/front_end/test/spell_checking_cleanup_lists.dart
@@ -0,0 +1,42 @@
+// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+import 'dart:io';
+
+import 'spell_checking_utils.dart' as spell;
+
+main() {
+ {
+ spell.ensureDictionariesLoaded([spell.Dictionaries.common]);
+ Set<String> commonWords =
+ spell.loadedDictionaries[spell.Dictionaries.common];
+ for (spell.Dictionaries dictionary in spell.Dictionaries.values) {
+ if (dictionary == spell.Dictionaries.common) continue;
+ Uri uri = spell.dictionaryToUri(dictionary);
+ List<String> keep = new List<String>();
+ for (String line in new File.fromUri(uri).readAsLinesSync()) {
+ if (!commonWords.contains(line)) {
+ keep.add(line);
+ }
+ }
+ keep.add("");
+ new File.fromUri(uri).writeAsStringSync(keep.join("\n"));
+ }
+ }
+
+ {
+ spell.ensureDictionariesLoaded([spell.Dictionaries.cfeCode]);
+ Set<String> codeWords =
+ spell.loadedDictionaries[spell.Dictionaries.cfeCode];
+ Uri uri = spell.dictionaryToUri(spell.Dictionaries.cfeTests);
+ List<String> keep = new List<String>();
+ for (String line in new File.fromUri(uri).readAsLinesSync()) {
+ if (!codeWords.contains(line)) {
+ keep.add(line);
+ }
+ }
+ keep.add("");
+ new File.fromUri(uri).writeAsStringSync(keep.join("\n"));
+ }
+}
diff --git a/pkg/front_end/test/spell_checking_list_code.txt b/pkg/front_end/test/spell_checking_list_code.txt
index e67f4b8..9c03dae 100644
--- a/pkg/front_end/test/spell_checking_list_code.txt
+++ b/pkg/front_end/test/spell_checking_list_code.txt
@@ -22,7 +22,6 @@
across
affecting
afterwards
-agnostic
agree
ahe
ai
@@ -35,7 +34,6 @@
allocate
altered
analogous
-analyzer
annotate
ansi
answering
@@ -49,7 +47,6 @@
args
argument1
arise
-arises
arising
arity
artifact
@@ -63,7 +60,6 @@
association
ast
asy
-async
atm
atom
atoms
@@ -122,7 +118,6 @@
bof
bom
bones
-boolean
bother
boundness
boxed
@@ -199,7 +194,6 @@
codebase
codec
codes
-collection
collision
com
combinations
@@ -208,7 +202,6 @@
combiner
compared
compares
-compiler
completes
complicating
component's
@@ -233,7 +226,6 @@
continuations
contra
convention
-convert
coordinated
coordinating
core
@@ -305,7 +297,6 @@
destroy
deterministic
dev
-diagnostic
diff
diffs
digest
@@ -373,11 +364,9 @@
established
estimate
eval
-excludes
exhausted
existentially
exp
-expect
expense
exportable
exportee
@@ -496,11 +485,9 @@
histogram
hit
hoc
-hoisted
hopefully
href
html
-http
https
human
i
@@ -579,7 +566,6 @@
juxtapositions
k
kallentu
-kernel
kernel's
kernel2kernel
klass
@@ -616,7 +602,6 @@
llub
lm
locationd
-logging
logically
lots
lp
@@ -640,7 +625,6 @@
markdown
masking
master
-matcher
mb
mc
md
@@ -694,7 +678,6 @@
msg
murmur
mus
-mustache
n
na
nameless
@@ -727,8 +710,6 @@
nt
nth
nullabilities
-nullability
-nullable
nullable1
nullable2
nullable3
@@ -841,7 +822,6 @@
proto
protobuf
ps
-pub
pulled
pure
puts
@@ -971,7 +951,6 @@
sdk's
seconds
sections
-selector
selectors
semantically
semver
@@ -1098,8 +1077,6 @@
talks
tb
team
-tear
-tearing
tearoff
tearoffable
tearoffs
@@ -1112,10 +1089,8 @@
term
termcap
terminator
-test
tester
testers
-testing
tex
textualize
textualized
@@ -1176,14 +1151,11 @@
uint16
uint32
uint8
-ultimately
umbrella
un
unaffected
-unalias
unaligned
unaltered
-unassigned
unbound
uncategorized
uncomment
@@ -1230,7 +1202,6 @@
uri's
url
urls
-usage
usr
usual
usually
@@ -1240,7 +1211,6 @@
utils
v
variable's
-variance
variances
variant
variants
@@ -1255,13 +1225,11 @@
visit*
visitors
visits
-vm
vm's
vn
vs
vtab
w
-wanted
waste
watch
watcher
diff --git a/pkg/front_end/test/spell_checking_list_messages.txt b/pkg/front_end/test/spell_checking_list_messages.txt
index 3b3a9ce..963e938 100644
--- a/pkg/front_end/test/spell_checking_list_messages.txt
+++ b/pkg/front_end/test/spell_checking_list_messages.txt
@@ -27,7 +27,6 @@
e.g
enum's
f
-field's
flutter_runner
futureor
h
diff --git a/pkg/front_end/test/spell_checking_list_tests.txt b/pkg/front_end/test/spell_checking_list_tests.txt
index 769bf24..344c892 100644
--- a/pkg/front_end/test/spell_checking_list_tests.txt
+++ b/pkg/front_end/test/spell_checking_list_tests.txt
@@ -16,9 +16,7 @@
aaa
abc
abcompile
-actions
adopted
-affected
albeit
allocations
allowlist
@@ -37,7 +35,6 @@
assure
auth
authority
-auto
autobianchi
automatic
b0x
@@ -54,7 +51,6 @@
bbb
bc
bench
-benchmark
besides
beta
bigger
@@ -81,16 +77,13 @@
c59cdee365b94ce066344840f9e3412d642019b
ca
cafebabe
-callable
camel
capitalized
-casing
causal
cb
cc
ccc
cell
-charcode
charset
checkme
checkout
@@ -107,7 +100,6 @@
class5b
class5c
class5d
-cli
cloneable
cmp
cnn
@@ -118,9 +110,7 @@
commented
commit
companion
-comparator
comparer
-comparisons
compilations
compiler's
complement
@@ -130,7 +120,6 @@
confirm
consecutive
considering
-consolidated
constrains
consts
contract
@@ -141,7 +130,6 @@
costly
cov
cp
-crashes
csi
ctrl
cumulative
@@ -163,7 +151,6 @@
decrease
decrements
dectcem
-def
defaulting
defintions
deleting
@@ -183,7 +170,6 @@
dijkstra
dijkstras
dillfile
-dills
dinteractive
dirname
disagree
@@ -232,26 +218,19 @@
exercises
exitcode
exiting
-exits
expanded
-expands
-expansion
expansive
-explain
extern
fac
faking
falling
favors
-fetched
fi
fibonacci
filesystem
filler
-finder
fisk
five
-flagged
floor
fluctuate
foo"bar"baz
@@ -276,7 +255,6 @@
forbidden
forces
foreground
-foreign
forrest
foundation
fox
@@ -288,9 +266,6 @@
gamma
gave
gc
-gen
-generators
-git
goo
google
graphic
@@ -299,7 +274,6 @@
gulp
gunk
hackish
-harness
helper2
hest
heuristics
@@ -326,17 +300,13 @@
incrementally
increments
indents
-infinity
initializer2
-inspect
insufficient
-intact
interactive
internet
interpolate
introducer
inv
-invalidating
invocation1a
invocation1b
invocation2a
@@ -374,8 +344,6 @@
koo
la
launching
-lc
-ld
le
legs
lengths
@@ -386,7 +354,6 @@
lints
linux
listening
-ll
ln
local1a
local1b
@@ -420,10 +387,8 @@
mac
maker
matters
-mc
mds
measured
-met
metric
metrics
mf
@@ -446,7 +411,6 @@
mysdk
naturally
negatable
-newest
newworld
nil
ninja
@@ -455,7 +419,6 @@
noo
numerator
observable
-observatory
oh
okay
ooo
@@ -478,7 +441,6 @@
phrase
pink
placement
-places
plug
pointed
policy
@@ -493,7 +455,6 @@
producer
profile
profiler
-promotes
propagated
protected
proved
@@ -523,20 +484,15 @@
reducer
referring
reflectee
-reflective
regenerate
regressions
reify
-released
reload
remap
remaps
rendition
repaint
-repeating
repro
-resource
-respected
response
result1
result2
@@ -548,7 +504,6 @@
row
rows
runtimes
-say
scans
scheduler
screen
@@ -591,7 +546,6 @@
stats
stay
std
-stdio
strip
strongest
stub's
@@ -608,7 +562,6 @@
suite
summarization
summarized
-superinterface
supermixin
supplement
suspension
@@ -621,20 +574,15 @@
test3a
test3b
thereof
-thing
-threw
timed
timeout
timer
-timing
timings
tinv
-title
tpt
transitively
translators
triangle
-trigger
triggers
trimming
tripped
@@ -652,7 +600,6 @@
unassignment
unawaited
unbreak
-uncategorized
unconverted
underline
unpacked
@@ -663,10 +610,8 @@
unusual
unversioned
upload
-uppercase
upward
uses8
-usual
uuid
v1
v2
@@ -674,7 +619,6 @@
vars
verbatim
versioned
-versioning
vp
vt
vte
diff --git a/tools/VERSION b/tools/VERSION
index db91a19..9e0f585 100644
--- a/tools/VERSION
+++ b/tools/VERSION
@@ -27,5 +27,5 @@
MAJOR 2
MINOR 10
PATCH 0
-PRERELEASE 86
+PRERELEASE 87
PRERELEASE_PATCH 0
\ No newline at end of file