Skip to content

Commit

Permalink
prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rdingwell committed Oct 11, 2024
1 parent fe01714 commit 4566a61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/browser/cql4browsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -6861,6 +6861,8 @@ class FunctionRef extends expression_1.Expression {
if (fDefs.length === 0) {
throw new Error('no function with matching signature could be found');
}
// Moved context creation below the functionDef checks because it's not needed if
// there are no matching function defs
let child_ctx;
if (this.library) {
const libCtx = ctx.getLibraryContext(this.library);
Expand Down
2 changes: 1 addition & 1 deletion src/elm/reusable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class FunctionRef extends Expression {
if (fDefs.length === 0) {
throw new Error('no function with matching signature could be found');
}
// Moved context creation below the functionDef checks because it's not needed if
// Moved context creation below the functionDef checks because it's not needed if
// there are no matching function defs
let child_ctx;
if (this.library) {
Expand Down

0 comments on commit 4566a61

Please sign in to comment.