aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/haskell.ts
diff options
context:
space:
mode:
authorpartouf <partouf@gmail.com>2023-05-16 01:20:49 +0200
committerpartouf <partouf@gmail.com>2023-05-16 01:20:49 +0200
commit7e9356ad53a858a09eed39dc5faa1cb0d55a78a0 (patch)
tree5abaa4584e01dcd23e8093295bee3fa11945dade /lib/compilers/haskell.ts
parent3b350bcee57d1bceac738bcad7e39dd37ed0cd68 (diff)
downloadcompiler-explorer-gh-7399.tar.gz
compiler-explorer-gh-7399.zip
fix haskell/ghc argparsergh-7399
Diffstat (limited to 'lib/compilers/haskell.ts')
-rw-r--r--lib/compilers/haskell.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compilers/haskell.ts b/lib/compilers/haskell.ts
index 4446127e7..de5f054d8 100644
--- a/lib/compilers/haskell.ts
+++ b/lib/compilers/haskell.ts
@@ -28,7 +28,7 @@ import type {PreliminaryCompilerInfo} from '../../types/compiler.interfaces.js';
import type {ParseFiltersAndOutputOptions} from '../../types/features/filters.interfaces.js';
import {BaseCompiler} from '../base-compiler.js';
-import {ClangParser} from './argument-parsers.js';
+import {GHCParser} from './argument-parsers.js';
export class HaskellCompiler extends BaseCompiler {
static get key() {
@@ -76,7 +76,7 @@ export class HaskellCompiler extends BaseCompiler {
return [libPathFlag + '.', ...this.getSharedLibraryPaths(libraries).map(path => libPathFlag + path)];
}
- override getArgumentParser() {
- return ClangParser;
+ override getArgumentParser(): any {
+ return GHCParser;
}
}