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

Copypaste-inline taggedalgebraic, try 2. Fixes #41? #52

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ d:
- dmd-2.083.1
- dmd-2.082.1
- dmd-2.081.1
- dmd-2.080.1
- dmd-2.079.1
- dmd-2.078.0
- dmd-2.077.1
- ldc-1.20.0
- ldc-1.18.0
- ldc-1.17.0
- ldc-1.16.0
- ldc-1.15.0
- ldc-1.14.0
- ldc-1.13.0
- ldc-1.12.0
- ldc-1.11.0
- ldc-1.10.0
- ldc-1.9.0
- dmd-beta

script:
Expand Down
2 changes: 1 addition & 1 deletion dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ authors "Sönke Ludwig"
copyright "Copyright © 2014-2015, Sönke Ludwig"
license "BSL-1.0"

dependency "taggedalgebraic" version=">=0.10.1 <0.12.0"
toolchainRequirements frontend=">=2.081.0"

x:ddoxFilterArgs "--unittest-examples" "--min-protection=Protected" "--only-documented"
2 changes: 1 addition & 1 deletion source/stdx/data/json/generator.d
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ enum GeneratorOptions {
@safe private void writeAsStringImpl(GeneratorOptions options, Output)(JSONValue value, ref Output output, size_t nesting_level = 0)
if (isOutputRange!(Output, char))
{
import taggedalgebraic : get;
import stdx.data.json.taggedalgebraic : get;

enum pretty_print = (options & GeneratorOptions.compact) == 0;

Expand Down
5 changes: 5 additions & 0 deletions source/stdx/data/json/taggedalgebraic/package.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module stdx.data.json.taggedalgebraic;

public import stdx.data.json.taggedalgebraic.taggedalgebraic;
public import stdx.data.json.taggedalgebraic.taggedunion;
public import stdx.data.json.taggedalgebraic.visit;
Loading