Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
Fix wrong version check.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Jun 9, 2017
1 parent dc157f5 commit e2278a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reflection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ for fname in [:code_lowered, :code_typed, :code_warntype, :code_llvm, :code_ptx,
""" macro $(fname)(ex0)
if ex0.head == :macrocall
# @cuda (...) f()
if Base.VERSION >= v"0.7.0-DEV.481"
if Base.VERSION >= v"0.7.0-DEV.357"
ex0 = ex0.args[4]
else
ex0 = ex0.args[3]
Expand Down

0 comments on commit e2278a3

Please sign in to comment.