Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia v0.6? #52

Open
cscherrer opened this issue Nov 14, 2017 · 2 comments
Open

Julia v0.6? #52

cscherrer opened this issue Nov 14, 2017 · 2 comments

Comments

@cscherrer
Copy link

Hi, Have you looked into updating this for Julia v0.6? It's currently not building for me. I made some syntax updates on a fork, but it quickly gets into some fine points that I don't really understand.

@ngiann
Copy link

ngiann commented Feb 6, 2018

Same here. Just typing

using ReverseDiffSource

throws errors:

Use "const ExQuote = ExH{:QuoteNode}" instead.
ERROR: LoadError: LoadError: UndefVarError: TypeConstructor not defined
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:576
 [2] include(::String) at ./sysimg.jl:14
 [3] include_from_node1(::String) at ./loading.jl:576
 [4] eval(::Module, ::Any) at ./boot.jl:235
 [5] _require(::Symbol) at ./loading.jl:490
 [6] require(::Symbol) at ./loading.jl:405

@Goysa2
Copy link

Goysa2 commented Apr 13, 2018

I don't know if this problem has been solved, but I too have a problem using the package.
using ReverseDiffSource
gives me

WARNING: deprecated syntax "typealias NConst ExNode{:constant}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:36.
Use "const NConst = ExNode{:constant}" instead.

WARNING: deprecated syntax "typealias NExt ExNode{:external}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:37.
Use "const NExt = ExNode{:external}" instead.

WARNING: deprecated syntax "typealias NCall ExNode{:call}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:38.
Use "const NCall = ExNode{:call}" instead.

WARNING: deprecated syntax "typealias NComp ExNode{:comp}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:39.
Use "const NComp = ExNode{:comp}" instead.

WARNING: deprecated syntax "typealias NRef ExNode{:ref}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:40.
Use "const NRef = ExNode{:ref}" instead.

WARNING: deprecated syntax "typealias NDot ExNode{:dot}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:41.
Use "const NDot = ExNode{:dot}" instead.

WARNING: deprecated syntax "typealias NSRef ExNode{:subref}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:42.
Use "const NSRef = ExNode{:subref}" instead.

WARNING: deprecated syntax "typealias NSDot ExNode{:subdot}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:43.
Use "const NSDot = ExNode{:subdot}" instead.

WARNING: deprecated syntax "typealias NFor ExNode{:for}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:44.
Use "const NFor = ExNode{:for}" instead.

WARNING: deprecated syntax "typealias NIn ExNode{:within}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:45.
Use "const NIn = ExNode{:within}" instead.

WARNING: deprecated syntax "inner constructor ExNode(...) around /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:16".
Use "ExNode{T}(...) where T" instead.

WARNING: deprecated syntax "inner constructor ExNode(...) around /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:17".
Use "ExNode{T}(...) where T" instead.

WARNING: deprecated syntax "inner constructor ExNode(...) around /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/node.jl:18".
Use "ExNode{T}(...) where T" instead.

WARNING: deprecated syntax "inner constructor BiDict(...) around /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/bidict.jl:19".
Use "BiDict{K,V}(...) where {K,V}" instead.

WARNING: deprecated syntax "inner constructor BiDict(...) around /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/bidict.jl:22".
Use "BiDict{K,V}(...) where {K,V}" instead.

WARNING: deprecated syntax "inner constructor BiDict(...) around /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/bidict.jl:34".
Use "BiDict{K,V}(...) where {K,V}" instead.

WARNING: deprecated syntax "typealias NSMap BiDict{ExNode,Any}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/graph.jl:8.
Use "const NSMap = BiDict{ExNode,Any}" instead.

WARNING: deprecated syntax "typealias ExEqual ExH{:(=)}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:17.
Use "const ExEqual = ExH{:(=)}" instead.

WARNING: deprecated syntax "typealias ExDColon ExH{:::}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:18.
Use "const ExDColon = ExH{:::}" instead.

WARNING: deprecated syntax "typealias ExColon ExH{::}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:19.
Use "const ExColon = ExH{::}" instead.

WARNING: deprecated syntax "typealias ExPEqual ExH{:+=}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:20.
Use "const ExPEqual = ExH{:+=}" instead.

WARNING: deprecated syntax "typealias ExMEqual ExH{:-=}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:21.
Use "const ExMEqual = ExH{:-=}" instead.

WARNING: deprecated syntax "typealias ExTEqual ExH{:*=}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:22.
Use "const ExTEqual = ExH{:*=}" instead.

WARNING: deprecated syntax "typealias ExTrans ExH{Symbol("'")}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:23.
Use "const ExTrans = ExH{Symbol("'")}" instead.

WARNING: deprecated syntax "typealias ExCall ExH{:call}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:24.
Use "const ExCall = ExH{:call}" instead.

WARNING: deprecated syntax "typealias ExBlock ExH{:block}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:25.
Use "const ExBlock = ExH{:block}" instead.

WARNING: deprecated syntax "typealias ExLine ExH{:line}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:26.
Use "const ExLine = ExH{:line}" instead.

WARNING: deprecated syntax "typealias ExVcat ExH{:vcat}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:27.
Use "const ExVcat = ExH{:vcat}" instead.

WARNING: deprecated syntax "typealias ExVect ExH{:vect}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:28.
Use "const ExVect = ExH{:vect}" instead.

WARNING: deprecated syntax "typealias ExCell1d ExH{:cell1d}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:29.
Use "const ExCell1d = ExH{:cell1d}" instead.

WARNING: deprecated syntax "typealias ExCell ExH{:cell1d}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:30.
Use "const ExCell = ExH{:cell1d}" instead.

WARNING: deprecated syntax "typealias ExFor ExH{:for}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:31.
Use "const ExFor = ExH{:for}" instead.

WARNING: deprecated syntax "typealias ExRef ExH{:ref}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:32.
Use "const ExRef = ExH{:ref}" instead.

WARNING: deprecated syntax "typealias ExIf ExH{:if}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:33.
Use "const ExIf = ExH{:if}" instead.

WARNING: deprecated syntax "typealias ExComp ExH{:comparison}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:34.
Use "const ExComp = ExH{:comparison}" instead.

WARNING: deprecated syntax "typealias ExDot ExH{:.}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:35.
Use "const ExDot = ExH{:.}" instead.

WARNING: deprecated syntax "typealias ExTuple ExH{:tuple}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:36.
Use "const ExTuple = ExH{:tuple}" instead.

WARNING: deprecated syntax "typealias ExReturn ExH{:return}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:37.
Use "const ExReturn = ExH{:return}" instead.

WARNING: deprecated syntax "typealias ExBody ExH{:body}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:38.
Use "const ExBody = ExH{:body}" instead.

WARNING: deprecated syntax "typealias ExQuote ExH{:QuoteNode}" at /home/local/USHERBROOKE/goys2402/.julia/v0.6/ReverseDiffSource/src/tograph.jl:39.
Use "const ExQuote = ExH{:QuoteNode}" instead.
ERROR: LoadError: LoadError: UndefVarError: TypeConstructor not defined
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:569
 [2] include(::String) at ./sysimg.jl:14
 [3] include_from_node1(::String) at ./loading.jl:569
 [4] eval(::Module, ::Any) at ./boot.jl:235
 [5] _require(::Symbol) at ./loading.jl:483
 [6] require(::Symbol) at ./loading.jl:398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants