aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/golang.ts
diff options
context:
space:
mode:
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`);