Skip to content

Commit

Permalink
remove some no-longer-necessary special cases from the typechecker
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed Nov 3, 2023
1 parent ddd977a commit f1c7578
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/Spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -703,18 +703,7 @@ export default class Spec {

const biblioEntry = this.biblio.byAoid(calleeName);
if (biblioEntry == null) {
if (
![
'thisTimeValue',
'thisStringValue',
'thisBigIntValue',
'thisNumberValue',
'thisSymbolValue',
'thisBooleanValue',
'toUppercase',
'toLowercase',
].includes(calleeName)
) {
if (!['toUppercase', 'toLowercase'].includes(calleeName)) {
// TODO make the spec not do this
warn(`could not find definition for ${calleeName}`);
}
Expand Down

0 comments on commit f1c7578

Please sign in to comment.