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.

Compilation error in documentation example for Core > Resources

See original GitHub issue

I don’t think the code example in the manual that was using a LongParam and IntParam in the 1.3.x branch here, but has been updated to a OptionalLong and OptionalInt in the 2.0 branch here will compile anymore.

In the fetch and add methods there are still calls to userId.get() and count.get() but these are methods that don’t exist on the new optional parameter types, only in the previous LongParam and IntParam types.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
huaweiy9commented, Jun 16, 2020
1reaction
chris-orchardcommented, May 13, 2020

I’m happy to try and improve this documentation now that my issue relating to it has been resolved. I’ll try and get this done next week so commenting here to keep this issue open for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compilation error after integrating PDFTron SDK
Failed to compile values resource file ... <a href=“https://www.pdftron.com/documentation/core/info/ ... PDFTron SDK API documentation ...
Read more >
Compiler Error CS1110 - Microsoft Learn
Example. The following example generates CS1110 if the file is not compiled with a reference to System.Core.dll:.
Read more >
Compilation Error with StanHeaders: no such file or directory
Summary: Compilation error when running the main stan function. I receive an error that several files used by StanHeaders cannot be found (even ......
Read more >
Compiler error "archive for required library could not be read"
I faced this problem. I had "Archive for required library spring-boot-devtools cannot be read or is not a valid ZIP file" and the...
Read more >
CUDA C++ Programming Guide - NVIDIA Documentation Center
The schematic Figure 1 shows an example distribution of chip resources for a CPU versus a GPU. The GPU Devotes More Transistors to...
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