question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support "pragma experimental"

See original GitHub issue

The Solidity 0.4.17 release notes say:

As we are getting closer to the next breaking release, we want to give everyone a heads up by introducing pragma experimental “v0.5.0” which already enables some of the new safety features of the 0.5.0 release.

Currently I get:

There was a problem instrumenting ./coverageEnv/contracts/ProofOfExistence1.sol: SyntaxError: Expected "solidity", comment, end of line, or whitespace but "e" found. Line: 2, Column: 8
Exiting without generating coverage...

Where line 2 is:

pragma experimental "v0.5.0";

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
cgeweckecommented, Oct 10, 2017

@area self-assigning and will try to fix parser today unless you’re already working on this. This and #131 also need:

  • bump dev dep to truffle 4 beta
  • a simple test that uses the new language features
1reaction
elenadimitrovacommented, Oct 10, 2017

Let’s reopen this as truffle 4 beta includes solc@0.4.17 update. It’s back to being a solidity-coverage issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

This type is only supported in the new experimental ABI ...
Code Generator: New ABI decoder which supports structs and arbitrarily nested arrays and checks input size (activate using pragma experimental ...
Read more >
Using pragma experimental ABIEncoderV2 #3410 - GitHub
I am using the experimental support for arrays in ABIEncoderV2. Turns out, if I am not wrong, there is currently no ABI decoder...
Read more >
Experimental ABI Encoder - Support - OpenZeppelin Forum
Hi all! I wanted to ask general opinions about using the Experimental ABI Encoder in production apps. I asked on the Discord, ...
Read more >
Experimental pragma for EIP-3074? - Solidity Forum
Adding experimental support in the compiler is a different matter though. It depends on how likely it actually is to be added eventually....
Read more >
Nim Experimental Features - Nim Programming Language
This document describes features of Nim that are to be considered experimental. Some of these are not covered by the .experimental pragma or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found