Skip to content

Commit 4911918

Browse files
bors[bot]vchuravy
andauthored
Merge #42
42: Fix tuple destructuring and bors+travis r=vchuravy a=vchuravy bors r+ Co-authored-by: Valentin Churavy <v.churavy@gmail.com>
2 parents d983201 + 21e0967 commit 4911918

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ language: julia
33
branches:
44
only:
55
- master
6+
- staging
7+
- trying
68
os:
79
- linux
810
- osx
@@ -15,3 +17,7 @@ notifications:
1517
email: false
1618
git:
1719
depth: 99999999
20+
jobs:
21+
allow_failures:
22+
- julia: 1.4
23+
- julia: nightly

bors.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
status = [
2-
"ci/gitlab/%"
2+
"ci/gitlab/%",
3+
"continuous-integration/travis-ci/push"
34
]

src/KernelAbstractions.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ macro index(locale, args...)
181181
end
182182

183183
if length(args) >= 1
184-
185184
if args[1] === :Cartesian ||
186185
args[1] === :Linear ||
187186
args[1] === :NTuple

src/macros.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ function split(stmts,
160160
if @capture(stmt, @uniform x_)
161161
push!(allocations, stmt)
162162
continue
163-
elseif @capture(stmt, lhs_ = rhs_)
163+
elseif @capture(stmt, lhs_ = rhs_ | (vs__, lhs_ = rhs_))
164164
if @capture(rhs, @index(args__))
165165
push!(indicies, stmt)
166166
continue

0 commit comments

Comments
 (0)