Revision 18e864b8283c2686c254973d8f77a59287104167 authored by Jan Weidner on 04 April 2017, 12:08:24 UTC, committed by Tim Holy on 04 April 2017, 12:08:24 UTC
1 parent e796e39
workspace.jl
# This file is a part of Julia. License is MIT: http://julialang.org/license
script = """
# Issue #11948
f(x) = x+1
workspace()
@assert !isdefined(:f)
LastMain.f(2)
# PR #12990
io = IOBuffer()
show(io, Pair)
@assert String(take!(io)) == "Pair"
@assert !Base.inbase(LastMain)
"""
exename = Base.julia_cmd()
run(`$exename --startup-file=no -e $script`)
# issue #17764
script2 = """
mutable struct Foo end
workspace()
mutable struct Foo end
@assert Tuple{Type{LastMain.Foo}} !== Tuple{Type{Main.Foo}}
"""
run(`$exename --startup-file=no -e $script2`)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...