Skip to content

Commit

Permalink
style: apply automated linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
megalinter-bot committed Oct 17, 2023
1 parent b43ad57 commit aa266e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import {
ParameterSubstitutions,
SdsConstantBoolean,
SdsConstantExpression,
SdsConstantFloat, SdsConstantInt,
SdsConstantFloat,
SdsConstantInt,
SdsConstantNull,
SdsConstantString,
SdsIntermediateBlockLambda,
Expand Down
8 changes: 4 additions & 4 deletions src/language/typing/safe-ds-type-computer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -535,15 +535,15 @@ export class SafeDsTypeComputer {
return this.createCoreType(this.builtinClasses.Any, true);
}

get Boolean(): Type {
get Boolean(): Type {
return this.createCoreType(this.builtinClasses.Boolean);
}

get Float(): Type {
get Float(): Type {
return this.createCoreType(this.builtinClasses.Float);
}

get Int(): Type {
get Int(): Type {
return this.createCoreType(this.builtinClasses.Int);
}

Expand All @@ -570,7 +570,7 @@ export class SafeDsTypeComputer {
}
/* c8 ignore stop */

const key = `${coreClass.name}~${isNullable}`
const key = `${coreClass.name}~${isNullable}`;
return this.coreTypeCache.get(key, () => new ClassType(coreClass, isNullable));
}
}

0 comments on commit aa266e2

Please sign in to comment.