diff options
author | Rubén Rincón Blanco <ruben@rinconblanco.es> | 2022-04-26 15:24:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-26 15:24:40 +0200 |
commit | 4965bd6c8101001dd124df38b3da43cdc2c360a4 (patch) | |
tree | 4d7e8133219f88e3e6361cceea9bebb84b62ab02 /lib/compilers/dart.js | |
parent | e3b9039095333ae3cdec1b9f47419ebac33b6fec (diff) | |
download | compiler-explorer-4965bd6c8101001dd124df38b3da43cdc2c360a4.tar.gz compiler-explorer-4965bd6c8101001dd124df38b3da43cdc2c360a4.zip |
All semver comparisons now ensure it's safe to do so (#3562)
* All semver comparisons now ensure it's safe to do so
* Oops, use correct class
* Remove leftover import
* Leave the Zig fixes for another PR
* Fix linter
* Fix test issues
* Make linter happy, yet again
* What?
* Address PR review
Diffstat (limited to 'lib/compilers/dart.js')
-rw-r--r-- | lib/compilers/dart.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/dart.js b/lib/compilers/dart.js index 527e68fd5..a8a8da5ad 100644 --- a/lib/compilers/dart.js +++ b/lib/compilers/dart.js @@ -60,7 +60,7 @@ export class DartCompiler extends BaseCompiler { filters.binary = true; const dartCompileIntroduction = '2.10.0'; - if (Semver.lt(this.compiler.semver, dartCompileIntroduction)) { + if (Semver.lt(utils.asSafeVer(this.compiler.semver), dartCompileIntroduction, true)) { return [ '-k', 'aot', '-o', this.filename(outputFilename), |