-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #270 from yuyichao/yyc/0.6
Fix 0.6 abstract type declaration depwarn
- Loading branch information
Showing
5 changed files
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
julia 0.4 | ||
Compat 0.9.4 | ||
Compat 0.17.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
abstract LinkedList{T} | ||
@compat abstract type LinkedList{T} end | ||
|
||
type Nil{T} <: LinkedList{T} | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
## Token interface to a container. A token is the address | ||
## of an item in a container. The token has two parts: the | ||
## container and the item's address. The address is of type | ||
## AbstractSemiToken. | ||
## AbstractSemiToken. | ||
|
||
|
||
module Tokens | ||
|
||
using Compat | ||
|
||
abstract AbstractSemiToken | ||
@compat abstract type AbstractSemiToken end | ||
|
||
immutable IntSemiToken <: AbstractSemiToken | ||
address::Int | ||
end | ||
|
||
end | ||
|
||
|
||
|