From b7b542bf7057f8d51db74a7ca06545c2d9eb4835 Mon Sep 17 00:00:00 2001 From: Milos Subotic Date: Mon, 5 Aug 2024 11:19:27 +0200 Subject: [PATCH] Needed change for InspectDR to work on Julia v0.10. --- src/InspectDR.jl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/InspectDR.jl b/src/InspectDR.jl index 34a538f..c54fe84 100644 --- a/src/InspectDR.jl +++ b/src/InspectDR.jl @@ -5,11 +5,12 @@ TAGS: #WANTCONST, HIDEWARN_0.7 =# -const _devmode = false -if _devmode -@warn("Development mode - precompile deactivated.") +if false # devmode + @warn("Development mode - precompile deactivated.") + __precompile__(false) +else + __precompile__(true) end -__precompile__(!_devmode) module InspectDR