Skip to content

Commit 80240bf

Browse files
committed
Remove __rng__ and __sampler__ from INTERNALNAMES (#312)
Cf. [this discussion](#253 (comment)). Also, derive deprecated names automatically. In the next breaking release we could completely get rid of `DEPRECATED_INTERNALNAMES`.
1 parent 9e60f36 commit 80240bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const INTERNALNAMES = (:__model__, :__sampler__, :__context__, :__varinfo__, :__rng__)
2-
const DEPRECATED_INTERNALNAMES = (:_model, :_sampler, :_context, :_varinfo, :_rng)
1+
const INTERNALNAMES = (:__model__, :__context__, :__varinfo__)
2+
const DEPRECATED_INTERNALNAMES = (:_model, :_context, :_varinfo)
33

44
"""
55
isassumption(expr)

0 commit comments

Comments
 (0)