https://github.com/JuliaLang/julia
Raw File
Tip revision: 3097c40e99d5bf21ec968921445fd4aae0756637 authored by Tim Besard on 30 June 2016, 21:29:28 UTC
WIP: GC poisoning for tags.
Tip revision: 3097c40
cartesian.jl
# This file is a part of Julia. License is MIT: http://julialang.org/license

@test Base.Cartesian.exprresolve(:(1 + 3)) == 4
ex = Base.Cartesian.exprresolve(:(if 5 > 4; :x; else :y; end))
@test ex.args[2] == QuoteNode(:x)
back to top