Issue #2142 - Remove the temporary fields option

Now that everything is finished, we don't need the feature flag any more.
This commit is contained in:
Martok 2023-05-01 00:57:45 +02:00 committed by roytam1
commit ba9647a12a
4 changed files with 0 additions and 13 deletions

View file

@ -1545,11 +1545,6 @@ TokenStream::getTokenInternal(TokenKind* ttp, Modifier modifier)
if (identVisibility == NameVisibility::Private) {
MOZ_ASSERT(identStart[0] == '#', "Private identifier starts with #");
tp->type = TOK_PRIVATE_NAME;
if (!options().fieldsEnabledOption) {
reportError(JSMSG_FIELDS_NOT_SUPPORTED);
goto error;
}
} else {
tp->type = TOK_NAME;
}