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.

Accept new constructor() syntax

See original GitHub issue

The nightly versions of the Solidity compiler now use the constructor(args) instead of function ContractName(args) syntax. I tried to add this in intellij-solidity myself but I don’t have enough time to get my head around how the parser generators work.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
ice1000commented, Apr 18, 2018

Let me do this.

0reactions
ice1000commented, Apr 19, 2018

@SerCeMan Close this plz 😜

Read more comments on GitHub >

github_iconTop Results From Across the Web

constructor - JavaScript - MDN Web Docs - Mozilla
The constructor method is a special method of a class for creating and initializing an object instance of that class.
Read more >
Constructor, operator "new" - The Modern JavaScript Tutorial
Constructor, operator "new". The regular {...} syntax allows us to create one object. But often we need to create many similar objects, ...
Read more >
Providing Constructors for Your Classes (The Java™ Tutorials ...
To create a new Bicycle object called myBike , a constructor is called by the new operator: Bicycle myBike = new Bicycle(30, 0,...
Read more >
Java Constructors - W3Schools
A constructor in Java is a special method that is used to initialize objects. The constructor is called when an object of a...
Read more >
Java - Constructors - Tutorialspoint
Most often, you will need a constructor that accepts one or more parameters. Parameters are added to a constructor in the same way...
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