Skip to content

Commit

Permalink
Fix body keyword deprecation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
JackStouffer committed Aug 4, 2021
1 parent c0d7d71 commit c46fd2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "BSL-1.0",
"authors": ["Jack Stouffer"],
"dependencies": {
"emsi_containers": "~>0.7.0"
"emsi_containers": "~>0.8.0"
},
"configurations": [
{
Expand Down
2 changes: 1 addition & 1 deletion source/dateparser/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ in
{
assert(defaultParser !is null, "Accessing defaultParser before static this initalization. Use your own Parser instance.");
}
body
do
{
// dfmt off
return defaultParser.parse(
Expand Down
4 changes: 2 additions & 2 deletions source/dateparser/ymd.d
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public:
{
assert(dataPosition <= 3);
}
body
do
{
static if (is(N : int))
{
Expand All @@ -116,7 +116,7 @@ public:
{
assert(dataPosition <= 3);
}
body
do
{
import std.conv : to;

Expand Down

0 comments on commit c46fd2a

Please sign in to comment.