From 4a85b47756259c2778c4336c69b7abc0b61a0fb9 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Sun, 20 Feb 2022 08:46:35 +0100 Subject: [PATCH] Fix alias definition of `CTask` (#122) * Define alias as `const` * Bump version --- Project.toml | 2 +- src/Libtask.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index a1db18f3..6bdc66c1 100644 --- a/Project.toml +++ b/Project.toml @@ -3,7 +3,7 @@ uuid = "6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f" license = "MIT" desc = "Tape based task copying in Turing" repo = "https://github.com/TuringLang/Libtask.jl.git" -version = "0.6.9" +version = "0.6.10" [deps] IRTools = "7869d1d1-7146-5819-86e3-90919afe41df" diff --git a/src/Libtask.jl b/src/Libtask.jl index 59795b98..9ef4732a 100644 --- a/src/Libtask.jl +++ b/src/Libtask.jl @@ -16,6 +16,6 @@ include("tapedtask.jl") include("tarray.jl") include("tref.jl") -CTask = TapedTask +const CTask = TapedTask end