Comments (4)
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.
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.
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.
Closing (feel free to create an issue on dfinity/motoko if this is still relevant).
from vscode-motoko.
Related Issues (20)
- 100% CPU load with this extension HOT 10
- Do you support showing an outline? HOT 1
- performance improvements HOT 8
- extension don't see mops packages HOT 8
- multi line strings HOT 2
- extension does not recognize canister alias when project is in subdirectory HOT 5
- keyword `catch` is not highlighted HOT 1
- [Request] Please add option to disable context menu "Motoko: Deploy (20 Minutes)" HOT 2
- How to disable autoformating of comments? HOT 3
- Import can't find files HOT 9
- Continuous "Reference not found from AST node:" errors HOT 5
- Motoko deploy command ERROR HOT 2
- No wigglies on https://github.dev HOT 2
- No wigglies on https://github.dev HOT 1
- management canister did file not found HOT 7
- Language server not working/Heap out of memory HOT 8
- Error while importing a canister HOT 19
- Cannot find module '@napi-rs/lzma-linux-x64-gnu' in WSL HOT 2
- Autocomplete non-functional. HOT 2
- Feature Request: Data type on variable hover HOT 3
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 vscode-motoko.