Comments (4)
FWIW ... this is the error message -
Target tinyendian 0.1.2 is up to date. Use --force to rebuild.
Building dyaml 0.5.1 configuration "library", build type debug.
Running dmd...
../../.dub/packages/dyaml-0.5.1/source/dyaml/node.d(277): Error: safe function 'dyaml.node.Node.__ctor!string.this' cannot call system function 'std.variant.VariantN!(16LU, YAMLNull, YAMLMerge, bool, long, real, ubyte[], SysTime, string, Pair[], Node[], YAMLObject).VariantN.__ctor!string.this'
../../.dub/packages/dyaml-0.5.1/source/dyaml/constructor.d(320): Error: template instance dyaml.node.Node.__ctor!string error instantiating
../../.dub/packages/dyaml-0.5.1/source/dyaml/composer.d(242): instantiated from here: node!(string, immutable(ScalarStyle))
../../.dub/packages/dyaml-0.5.1/source/dyaml/node.d(332): Error: safe function 'dyaml.node.Node.__ctor!(Node).this' cannot call system function 'std.variant.VariantN!(16LU, YAMLNull, YAMLMerge, bool, long, real, ubyte[], SysTime, string, Pair[], Node[], YAMLObject).VariantN.__ctor!(Node[]).this'
../../.dub/packages/dyaml-0.5.1/source/dyaml/constructor.d(320): Error: template instance dyaml.node.Node.__ctor!(Node) error instantiating
../../.dub/packages/dyaml-0.5.1/source/dyaml/composer.d(269): instantiated from here: node!(Node[], immutable(CollectionStyle))
../../.dub/packages/dyaml-0.5.1/source/dyaml/node.d(1756): Error: safe function 'dyaml.node.Node.findPair!(string, cast(Flag)true).findPair' cannot call system function 'std.variant.VariantN!(16LU, YAMLNull, YAMLMerge, bool, long, real, ubyte[], SysTime, string, Pair[], Node[], YAMLObject).VariantN.get!(const(Pair[])).get'
../../.dub/packages/dyaml-0.5.1/source/dyaml/node.d(783): Error: template instance dyaml.node.Node.findPair!(string, cast(Flag)true) error instantiating
../../.dub/packages/dyaml-0.5.1/source/dyaml/node.d(620): instantiated from here: opIndex!string
../../.dub/packages/dyaml-0.5.1/source/dyaml/node.d(1098): instantiated from here: get!(Pair[], cast(Flag)true)
../../.dub/packages/dyaml-0.5.1/source/dyaml/composer.d(310): instantiated from here: opApply!(Node, Node)
../../.dub/packages/dyaml-0.5.1/source/dyaml/node.d(1042): Error: template instance dyaml.node.Node.get!(Node[], cast(Flag)true) error instantiating
../../.dub/packages/dyaml-0.5.1/source/dyaml/composer.d(330): instantiated from here: opApply!(Node)
../../.dub/packages/dyaml-0.5.1/source/dyaml/node.d(332): Error: safe function 'dyaml.node.Node.__ctor!(Pair).this' cannot call system function 'std.variant.VariantN!(16LU, YAMLNull, YAMLMerge, bool, long, real, ubyte[], SysTime, string, Pair[], Node[], YAMLObject).VariantN.__ctor!(Pair[]).this'
../../.dub/packages/dyaml-0.5.1/source/dyaml/constructor.d(320): Error: template instance dyaml.node.Node.__ctor!(Pair) error instantiating
../../.dub/packages/dyaml-0.5.1/source/dyaml/composer.d(387): instantiated from here: node!(Pair[], immutable(CollectionStyle))
../../.dub/packages/dyaml-0.5.1/source/dyaml/node.d(1431): Error: safe function 'dyaml.node.Node.value!(YAMLNull).value' cannot call system function 'std.variant.VariantN!(16LU, YAMLNull, YAMLMerge, bool, long, real, ubyte[], SysTime, string, Pair[], Node[], YAMLObject).VariantN.__ctor!(YAMLNull).this'
../../.dub/packages/dyaml-0.5.1/source/dyaml/constructor.d(361): Error: template instance dyaml.node.Node.value!(YAMLNull) error instantiating
../../.dub/packages/dyaml-0.5.1/source/dyaml/constructor.d(189): instantiated from here: addConstructor!(YAMLNull)
../../.dub/packages/dyaml-0.5.1/source/dyaml/constructor.d(88): instantiated from here: addConstructorScalar!(YAMLNull)
../../.dub/packages/dyaml-0.5.1/source/dyaml/node.d(1431): Error: safe function 'dyaml.node.Node.value!bool.value' cannot call system function 'std.variant.VariantN!(16LU, YAMLNull, YAMLMerge, bool
(snipped)
from d-yaml.
Will look at this over the next weekend, probably will need to remove some @safe from the API; I guess less of Variant is @safe due to better attribute inference?
from d-yaml.
Should be fixed by 2f3d782 , can you test?
from d-yaml.
Thx. Ok now. (verified on win 32 but the issue was platform-agnostic so i dare closing)
from d-yaml.
Related Issues (20)
- Try to eliminate the Resolver regexes HOT 1
- serializer fails to find an anchor name in some cases
- Loss of precision when representing reals HOT 1
- Can I tell the dumper not to emit the !!str when it's a quoted string scalar? HOT 3
- Node as/get fails on struct types containing arrays of structs. HOT 1
- Expose Node Mark data outside of package
- core.exception.AssertError: prefixBytes out of bounds HOT 3
- D-Yaml chokes on tabs when in flow style HOT 5
- `get!T` does not work when `T` is a class with non-`inout` constructor HOT 1
- double is a better then real HOT 9
- yaml test suite action currently fails HOT 1
- Use of std.sumtype.SumType instead of std.variant.Algebraic HOT 1
- Feature Request: JSON-compatible dumper settings HOT 5
- `null`-initialized string is dumped as `null` rather than an empty string
- Unclear API for `Emitter` constructor HOT 1
- Remove copy of std.sumtype
- D-YAML does not support escaped slashes in strings HOT 5
- Multiline string that does not end with newline is accidentally parsed as a string that ends with `'\0'` HOT 1
- DIP1000-related deprecation with DMD 2.101
- Assertion failure when scanning simple document
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d-yaml.