aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/golang.ts
diff options
context:
space:
mode:
authorJeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>2023-02-22 17:45:55 -0500
committerGitHub <noreply@github.com>2023-02-22 17:45:55 -0500
commit563b220cb9243ea19a49cfe82cf9fcadda79b600 (patch)
tree158e3737e83ca4e3c00f647a13c74b070549e315 /lib/compilers/golang.ts
parent17ac75facd403c7f476546707645989191fe4864 (diff)
downloadcompiler-explorer-563b220cb9243ea19a49cfe82cf9fcadda79b600.tar.gz
compiler-explorer-563b220cb9243ea19a49cfe82cf9fcadda79b600.zip
Type work for some handlers and stuff related to the compiler-finder (#4752)gh-6407
Diffstat (limited to 'lib/compilers/golang.ts')
-rw-r--r--lib/compilers/golang.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/golang.ts b/lib/compilers/golang.ts
index 7db2d87e2..2b41483c6 100644
--- a/lib/compilers/golang.ts
+++ b/lib/compilers/golang.ts
@@ -24,7 +24,7 @@
import _ from 'underscore';
-import {CompilerInfo} from '../../types/compiler.interfaces';
+import {PreliminaryCompilerInfo} from '../../types/compiler.interfaces';
import {ParseFiltersAndOutputOptions} from '../../types/features/filters.interfaces';
import {ResultLine} from '../../types/resultline/resultline.interfaces';
import {unwrap} from '../assert';
@@ -58,7 +58,7 @@ export class GolangCompiler extends BaseCompiler {
return 'golang';
}
- constructor(compilerInfo: CompilerInfo, env) {
+ constructor(compilerInfo: PreliminaryCompilerInfo, env) {
super(compilerInfo, env);
const goroot = this.compilerProps<string | undefined>(`compiler.${this.compiler.id}.goroot`);
const goarch = this.compilerProps<string | undefined>(`compiler.${this.compiler.id}.goarch`);