From f456420bc3542869887c41f1f978730c31a8cea0 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Mon, 3 Dec 2018 14:34:35 -0800 Subject: [PATCH] Add a 1.1 compatibility note to the docstrings Co-Authored-By: ararslan --- base/sysinfo.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/sysinfo.jl b/base/sysinfo.jl index da6e2396c7a8d..4ff95eb13b59e 100644 --- a/base/sysinfo.jl +++ b/base/sysinfo.jl @@ -314,6 +314,8 @@ for bsd in (:FreeBSD, :OpenBSD, :NetBSD, :DragonFly) !!! note Not to be confused with `Sys.isbsd()`, which is `true` on $($s) but also on other BSD-based systems. `Sys.$($f)()` refers only to $($s). + !!! compat "Julia 1.1" + This function requires at least Julia 1.1. """ $f(os::Symbol) = (os === $(QuoteNode(bsd))) $f() = $(getfield(@__MODULE__, f)(KERNEL))