aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/python.ts
diff options
context:
space:
mode:
authorJeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>2022-11-26 13:56:04 -0500
committerGitHub <noreply@github.com>2022-11-26 13:56:04 -0500
commite13fe4a2f9a100618072855cd87dda9cf32b6524 (patch)
tree06bfc971029439d3e41e038c347ef704a6c64717 /lib/compilers/python.ts
parenta208c2fe2ed754a07beddc905cde433a2b7bf9f4 (diff)
downloadcompiler-explorer-e13fe4a2f9a100618072855cd87dda9cf32b6524.tar.gz
compiler-explorer-e13fe4a2f9a100618072855cd87dda9cf32b6524.zip
Mg/props ts (#4340)gh-5089
* WIP * Type changes to the property getter * Finish getting types working for properties.ts * Reduce type casts in exec.ts * Format files * Remove old comment Co-authored-by: Matt Godbolt <matt@godbolt.org>
Diffstat (limited to 'lib/compilers/python.ts')
-rw-r--r--lib/compilers/python.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compilers/python.ts b/lib/compilers/python.ts
index a9a2f2c5a..1036f2222 100644
--- a/lib/compilers/python.ts
+++ b/lib/compilers/python.ts
@@ -40,7 +40,8 @@ export class PythonCompiler extends BaseCompiler {
this.compiler.demangler = '';
this.demanglerClass = null;
this.disasmScriptPath =
- this.compilerProps('disasmScript') || resolvePathFromAppRoot('etc', 'scripts', 'disasms', 'dis_all.py');
+ this.compilerProps<string>('disasmScript') ||
+ resolvePathFromAppRoot('etc', 'scripts', 'disasms', 'dis_all.py');
}
override processAsm(result) {