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 for Solidity ^0.4 syntax

See original GitHub issue

Parse error on pragma solidity ^0.4.0;

Parse error
{ [SyntaxError: Expected comment, end of line, identifier or whitespace but "0" found. Line: 7, Column: 22]
  message: 'Expected comment, end of line, identifier or whitespace but "0" found. Line: 7, Column: 22',
  expected:
   [ { type: 'other', description: 'comment' },
     { type: 'other', description: 'end of line' },
     { type: 'other', description: 'identifier' },
     { type: 'other', description: 'whitespace' } ],
  found: '0',
  location:
   { start: { offset: 180, line: 7, column: 22 },
     end: { offset: 181, line: 7, column: 23 } },
  name: 'SyntaxError' }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:5

github_iconTop GitHub Comments

1reaction
chevdorcommented, Apr 12, 2017

The PR #8 has been merge so it should work fine now. That would be awesome if you could check and close this issue @shayanb

0reactions
chevdorcommented, Apr 12, 2017

Awesome. For the ‘done’ issue, I would suggest another issue. Thanks for closing this one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solidity - Basic Syntax - Tutorialspoint
Solidity - Basic Syntax, A Solidity source files can contain an any number of contract definitions, import directives and pragma directives.
Read more >
Solidity 0.4.21 documentation
Solidity syntax highlighting for SublimeText editor. Plugin for the Atom editor that features syntax highlighting, compilation and a runtime environment ( ...
Read more >
Solidity — Solidity 0.8.17 documentation
Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features. With Solidity you can create contracts ...
Read more >
Solidity Documentation - Read the Docs
Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.
Read more >
Basic Ethereum Smart Contract Syntax - Dummies.com
If you want to get involved with Ethereum development, you'll need to know how to code smart contracts in Solidity. Here's how.
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