[MOD] trying old stuff on julia 1.2

This commit is contained in:
Eduardo Cueto Mendoza 2020-05-15 18:50:46 -06:00
parent 9af4f44f78
commit c730234884
2 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
abstract Shape
abstract type Shape end
type Circle <: Shape
x::Float64

View File

@ -0,0 +1,5 @@
abstract type Expression end
function evaluate(exp::Expression,ctx::Context)
error("Must implement evaluate", typeof(exp), ", ctx)")
end