Skip to content

Commit

Permalink
name changed to DefaultFields
Browse files Browse the repository at this point in the history
  • Loading branch information
jkosata committed Aug 23, 2023
1 parent 6fa444f commit 646e953
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "AbstractFields"
name = "DefaultFields"
uuid = "736c604d-46d4-4c6b-993b-58f501ada7d6"
authors = ["Jan Kosata <j.kosata@protonmail.com>"]
version = "0.0.1"
Expand All @@ -8,6 +8,7 @@ Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"

[compat]
julia = "1.9"
Parameters = "0.12.3"

[extras]
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![tests](https://github.com/jkosata/AbstractFields.jl/workflows/tests/badge.svg?branch=master)
![tests](https://github.com/jkosata/DefaultFields.jl/workflows/tests/badge.svg?branch=master)

This is a simple package to enable declaring fields for abstract types in Julia, see https://github.com/JuliaLang/julia/issues/4935

Expand Down
2 changes: 1 addition & 1 deletion src/AbstractFields.jl → src/DefaultFields.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module AbstractFields
module DefaultFields

using Parameters
export @with_fields
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using AbstractFields, Test, Parameters
using DefaultFields, Test, Parameters

abstract type supertype end
@with_fields abs_type <: supertype custom_float::Float64 custom_int::Int
Expand Down

0 comments on commit 646e953

Please sign in to comment.