Skip to content

Commit

Permalink
fixed forgotten dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sebpiq committed Mar 15, 2024
1 parent b46b375 commit 17aade5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/compile/precompile/dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
} from '../types'
import { AstElement, AstFunc, AstSequence } from '../../ast/types'
import { traversers } from '../../dsp-graph'
import { commonsWaitFrame, core, msg } from '../../stdlib'
import { commonsArrays, commonsWaitFrame, core, msg } from '../../stdlib'
import { Sequence } from '../../ast/declare'
import { Precompilation, PrecompiledCode, VariableNamesIndex } from './types'

Expand Down Expand Up @@ -87,6 +87,7 @@ export const instantiateAndDedupeDependencies = (

export const engineMinimalDependencies = (): Array<GlobalCodeDefinition> => [
core,
commonsArrays,
commonsWaitFrame,
msg,
]
Expand Down
1 change: 1 addition & 0 deletions src/stdlib/commons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export const commonsArrays: GlobalCodeGeneratorWithSettings = {
]),

exports: [{ name: 'commons_getArray' }, { name: 'commons_setArray' }],
dependencies: [sked],
}

export const commonsWaitFrame: GlobalCodeGeneratorWithSettings = {
Expand Down

0 comments on commit 17aade5

Please sign in to comment.