diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0861324e..e5fdcace 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v4 - name: Install QBE run: | - git clone https://github.com/kengorab/qbe-mirror + git clone -b fork --single-branch https://github.com/kengorab/qbe-mirror mv qbe-mirror qbe cd qbe make diff --git a/.github/workflows/selfhost.yml b/.github/workflows/selfhost.yml index 762e063c..4a1f77f2 100644 --- a/.github/workflows/selfhost.yml +++ b/.github/workflows/selfhost.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v2 - name: Install QBE run: | - git clone https://github.com/kengorab/qbe-mirror + git clone -b fork --single-branch https://github.com/kengorab/qbe-mirror mv qbe-mirror qbe cd qbe make diff --git a/projects/compiler/example.abra b/projects/compiler/example.abra index 624a0819..537af5cf 100644 --- a/projects/compiler/example.abra +++ b/projects/compiler/example.abra @@ -1,14 +1 @@ -// val str: String? = None - -// println(str?.isEmpty()) - -// println("a s d f".split(by: " ")) -// println("asdf".split()) - -val arr = [1, 2, 3, 4] - -/// Expect: [1, 2, 2, 3, 3, 3, 4, 4, 4, 4] -val arr2 = arr.flatMap(i => Array.fill(i, i)) -println(arr2) -println(arr2.length) -println(arr2) +println(1) \ No newline at end of file