Issue 1:
f(x::T) where T = 1
hasmethod(f, Tuple{T} where T)

crash the julia repl on julia 1.1.1, windows 7

Issue 2:
It may be a malformed method call but it crashes julia v1.1 and only after the method has been defined:

hasmethod(Base.map!,Tuple{Any,Base.ValueIterator{D}} where D<:Dict)

While this nearly identical version does not:

hasmethod(Base.map!,Tuple{Any,Base.ValueIterator{<:Dict}})

Starting Julia...
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.1.0 (2019-01-21)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

julia> hasmethod(Base.map!,Tuple{Any,Base.ValueIterator{<:Dict}})
false

julia> hasmethod(Base.map!,Tuple{Any,Base.ValueIterator{D}} where D<:Dict)
false

julia> function Base.map!(f, iter::Base.ValueIterator{<:Dict})
dict = iter.dict
vals = dict.vals
# @inbounds is here so the it gets propigated to isslotfiled
@inbounds for i = dict.idxfloor:Base.lastindex(vals)
if Base.isslotfilled(dict, i)
vals[i] = f(vals[i])
end
end
return iter
end

julia> hasmethod(Base.map!,Tuple{Any,Base.ValueIterator{<:Dict}})
true

julia> hasmethod(Base.map!,Tuple{Any,Base.ValueIterator{D}} where D<:Dict)

signal (11): Segmentation fault: 11
in expression starting at no file:0
jl_compilation_sig at /Users/osx/buildbot/slave/package_osx64/build/src/gf.c:622
jl_mt_assoc_by_type at /Users/osx/buildbot/slave/package_osx64/build/src/gf.c:1139
jl_method_lookup_by_type at /Users/osx/buildbot/slave/package_osx64/build/src/gf.c:1722 [inlined]
jl_method_exists at /Users/osx/buildbot/slave/package_osx64/build/src/gf.c:1729
#hasmethod#21 at ./reflection.jl:1102 [inlined]
hasmethod at ./reflection.jl:1100
unknown function (ip: 0x11ac4ed14)
do_call at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:323
eval_stmt_value at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:362 [inlined]
eval_body at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:759
jl_interpret_toplevel_thunk_callback at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:885
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x1155fe58f)
unknown function (ip: 0x6)
jl_interpret_toplevel_thunk at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:894
jl_toplevel_eval_flex at /Users/osx/buildbot/slave/package_osx64/build/src/toplevel.c:764
jl_toplevel_eval at /Users/osx/buildbot/slave/package_osx64/build/src/toplevel.c:773 [inlined]
jl_toplevel_eval_in at /Users/osx/buildbot/slave/package_osx64/build/src/toplevel.c:793
eval at ./boot.jl:328 [inlined]
repleval at /Users/nicholasdinsmore/.julia/packages/Atom/OZKl0/src/repl.jl:147
#168 at /Users/nicholasdinsmore/.julia/packages/Atom/OZKl0/src/repl.jl:182
with_logstate at ./logging.jl:395
with_logger at ./logging.jl:491 [inlined]
evalrepl at /Users/nicholasdinsmore/.julia/packages/Atom/OZKl0/src/repl.jl:173
do_call at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:323
eval_stmt_value at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:362 [inlined]
eval_body at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:759
jl_interpret_toplevel_thunk_callback at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:885
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x1155fe3af)
unknown function (ip: 0xffffffffffffffff)
jl_interpret_toplevel_thunk at /Users/osx/buildbot/slave/package_osx64/build/src/interpreter.c:894
jl_toplevel_eval_flex at /Users/osx/buildbot/slave/package_osx64/build/src/toplevel.c:764
jl_toplevel_eval at /Users/osx/buildbot/slave/package_osx64/build/src/toplevel.c:773 [inlined]
jl_toplevel_eval_in at /Users/osx/buildbot/slave/package_osx64/build/src/toplevel.c:793
eval at ./boot.jl:328
eval_user_input at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:85
run_backend at /Users/nicholasdinsmore/.julia/packages/Revise/RiaYX/src/Revise.jl:779
#60 at ./task.jl:259
jl_fptr_trampoline at /Users/osx/buildbot/slave/package_osx64/build/src/gf.c:1864
jl_apply at /Users/osx/buildbot/slave/package_osx64/build/src/./julia.h:1571 [inlined]
start_task at /Users/osx/buildbot/slave/package_osx64/build/src/task.c:572
Allocations: 18323023 (Pool: 18320209; Big: 2814); GC: 41

Julia has exited. Press Enter to start a new session.