Giter Site home page Giter Site logo

Comments (4)

btbytes avatar btbytes commented on July 28, 2024

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.

kiith-sa avatar kiith-sa commented on July 28, 2024

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.

kiith-sa avatar kiith-sa commented on July 28, 2024

Should be fixed by 2f3d782 , can you test?

from d-yaml.

 avatar commented on July 28, 2024

Thx. Ok now. (verified on win 32 but the issue was platform-agnostic so i dare closing)

from d-yaml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.