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.

version constant interpolation in module descriptor

See original GitHub issue

Mentioned here by @FroMage, it would be nice to be able to do stuff like this:

module my.example "1.0.0" {
    value javaVersion = "8";
    value ceylonVersion = "1.3.3-SNAPSHOT";

    import java.base javaVersion;

    import javafx.base javaVersion;
    import javafx.graphics javaVersion;
    import javafx.controls javaVersion;

    import ceylon.collection ceylonVersion;
    import ceylon.file ceylonVersion;
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
gavinkingcommented, Jul 23, 2017

Well, anyway, this is done now, closing this issue.

0reactions
FroMagecommented, Jul 24, 2017

Very cool!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intermediate variables (OR: add interpolation support to input ...
Of course, I can propagate the input to the module all the way through the module and emit as an output but that...
Read more >
String::Interpolate - Wrapper for builtin the Perl ... - MetaCPAN
Tells the String::Interpolate object whether or not to use the PadWalker module to import all lexical variables from the calling context into the...
Read more >
4. Values and Expressions - Perl Best Practices [Book] - O'Reilly
Unexpectedly interpolating a variable in a character string is a common source of errors in Perl programs. So is unexpected non-interpolation.
Read more >
Coding standards | Drupal Wiki guide on Drupal.org
The Drupal coding standards apply to code within Drupal and its contributed modules. These standards are version-independent and ...
Read more >
29.4.14 Interpolating an X–Y data object
A symbolic constant that specifies the interpolation scheme (interpolation). Valid values for this argument are QUADRATIC, specifying a Lagrange second-order ...
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