Skip to content

Commit

Permalink
Fix minor typos (thanks to #48)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesMeierSE committed Dec 19, 2024
1 parent 2e3135a commit 6571b4b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface LangiumTypeCreator {

/**
* React on updates of the AST in order to add/remove corresponding types from the type system,
* e.g. for user-definied functions to create corresponding function types in the type graph.
* e.g. for user-defined functions to create corresponding function types in the type graph.
* @param domainElement an AstNode of the current AST
*/
onNewAstNode(domainElement: AstNode): void;
Expand Down
2 changes: 1 addition & 1 deletion packages/typir/src/kinds/bottom/bottom-kind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { isKind, Kind } from '../kind.js';
import { TypeDetails } from '../../graph/type-node.js';

export interface BottomTypeDetails extends TypeDetails {
/** In case of multiple inference rules, later rules are not evaluated anymore, if an earler rule already matched. */
/** In case of multiple inference rules, later rules are not evaluated anymore, if an earlier rule already matched. */
inferenceRules?: InferBottomType | InferBottomType[]
}

Expand Down
2 changes: 1 addition & 1 deletion packages/typir/src/kinds/primitive/primitive-kind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface PrimitiveKindOptions {

export interface PrimitiveTypeDetails extends TypeDetails {
primitiveName: string;
/** In case of multiple inference rules, later rules are not evaluated anymore, if an earler rule already matched. */
/** In case of multiple inference rules, later rules are not evaluated anymore, if an earlier rule already matched. */
inferenceRules?: InferPrimitiveType | InferPrimitiveType[];
}

Expand Down
2 changes: 1 addition & 1 deletion packages/typir/src/kinds/top/top-kind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { isKind, Kind } from '../kind.js';
import { TopType } from './top-type.js';

export interface TopTypeDetails extends TypeDetails {
/** In case of multiple inference rules, later rules are not evaluated anymore, if an earler rule already matched. */
/** In case of multiple inference rules, later rules are not evaluated anymore, if an earlier rule already matched. */
inferenceRules?: InferTopType | InferTopType[]
}

Expand Down

0 comments on commit 6571b4b

Please sign in to comment.