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.

Problem with `it` in English Auction

See original GitHub issue

Describe the bug A clear and concise description of what the bug is.

The use of it.ID gives error:

image

But it works well when this.ID is used.

This comes from the English Auction tutorial:

image

Expected behavior

No errors?

System configuration: – SARL version: 0.11.0 – SARL compiler: 0.11.0

    • [] Eclipse compiler without Maven
    • [X ] Eclipse compiler with Maven
    • Maven compiler on the command line
    • sarlc compiler – Java JDK version (with the manufacturer name): – Operating System:
    • Linux 64bits
    • Windows 64bits
    • MacOS 64bits

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
gallandarakhneorgcommented, Mar 18, 2021

The online document may already exhibits code that is compatible with version 0.12 because of the generation pipeline (this is an issue I have to solve for the next versions).

1reaction
gallandarakhneorgcommented, Mar 18, 2021

Please note also that the meanings of it.UUID and this.ID are not exactly the same. The first replies the identifier of the agent represented by the address, i.e. a possible candidate for receiving the event in the context of the lambda usage; and this.ID replies the identifier of the current agent, i.e. the emitter of the event. So, you cannot use both of them at this place of your code: only it.UUID has a coherent meaning.

Read more comments on GitHub >

github_iconTop Results From Across the Web

English auction - Wikipedia
More generally, an auction mechanism is considered "English" if it involves an iterative process of adjusting the price in a direction that is...
Read more >
Inference with an Incomplete Model of English Auctions Philip ...
While English auctions are the most common in practice, their rules typically lack sufficient structure to yield a tractable theoretical model.
Read more >
English auction: Easy explanation. - YouTube
In this video, you will learn about the process of an English auction.#englishauction #bidding #wallstreetmojo #auction ...
Read more >
Vickrey Auction
The Vickrey auction underlies the eBay outcome because when a bidder submits a bid in the eBay auction, the current “going” price is...
Read more >
Inference with an Incomplete Model of English Auctions
We propose a new approach to empirical analysis of the most common type of auction: the “English” or “oral ascending bid” auction, in...
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