Git Product home page Git Product logo

Comments (4)

rossberg avatar rossberg commented on August 25, 2024

This actually indicates a bug in the compiler, not in the vscode plugin.

But I cannot reproduce it with the current version of Motoko, where it seems to compile fine, e.g., in the playground. Can you try updating your SDK/Motoko installation and see if the bug persists?

from vscode-motoko.

jzxchiang1 avatar jzxchiang1 commented on August 25, 2024

Interesting, I'm using dfx 0.7.1 -- not sure which version of the Motoko compiler is bundled with that.

I will try again when I next update dfx. I've been hesitant about doing so because newer versions of dfx completely change what the generated JavaScript interfaces look like, and it would break my current codebase.

from vscode-motoko.

nomeata avatar nomeata commented on August 25, 2024

dfx 0.7.1 came with motoko 0.6.1:

~/dfinity/motoko $ git show sdk-0.7.1
commit 9b07f5c1a41fe2cb2205255ed0819ca54278ba2a (tag: sdk-0.7.5, tag: sdk-0.7.4, tag: sdk-0.7.3, tag: sdk-0.7.2, tag: sdk-0.7.1, tag: sdk-0.7.0-beta.8, tag: sdk-0.7.0-beta.7, tag: sdk-0.7.0-beta.6, tag: sdk-0.7.0-beta.5, tag: sdk-0.7.0, tag: 0.6.1)

from vscode-motoko.

rvanasa avatar rvanasa commented on August 25, 2024

Closing (feel free to create an issue on dfinity/motoko if this is still relevant).

from vscode-motoko.

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.