# Wrong paths reported by @less and @which

**URL:** https://discourse.julialang.org/t/wrong-paths-reported-by-less-and-which/31850
**Category:** General Usage
**Created:** [December 4, 2019, 12:11pm UTC](https://discourse.julialang.org/t/wrong-paths-reported-by-less-and-which/31850 "2019-12-04T12:11:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lbilli](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@lbilli](https://discourse.julialang.org/u/lbilli)
#### Post date: [December 4, 2019, 12:11pm UTC](https://discourse.julialang.org/t/wrong-paths-reported-by-less-and-which/31850/1 "2019-12-04T12:11:36Z")

</div>

In Julia v1.3.0, macros `@less` and `@which` don’t seem to work as expected when applied to methods from the standard library:

```julia
# This works
@which sin(1)
sin(x::Real) in Base.Math at special/trig.jl:53

# This doesn't
using Dates

@which Date(2019)
Date(y::Int64) in Dates at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Dates/src/types.jl:222

@less Date(2019)
/buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Dates/src/types.jl: No such file or directory
ERROR: failed process: Process(`less +222g /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Dates/src/types.jl`, ProcessExited(1)) [1]

```

It seems that the path to the source file contains leftovers from the building process.
