aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/haskell.ts
diff options
context:
space:
mode:
authorPatrick Quist <partouf@gmail.com>2023-05-16 03:53:57 +0200
committerGitHub <noreply@github.com>2023-05-16 03:53:57 +0200
commit079d4957571398f72482ce156076b2d4fbddbbf7 (patch)
tree96a58133f203e4df4a55cf2171d5e354de605827 /lib/compilers/haskell.ts
parentd6deb08cee8a06b9163c4d3dad37af20453346fb (diff)
downloadcompiler-explorer-079d4957571398f72482ce156076b2d4fbddbbf7.tar.gz
compiler-explorer-079d4957571398f72482ce156076b2d4fbddbbf7.zip
Compiler overrides (#5001)gh-7408
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;
}
}