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.

Proc/Var declaration blocks aren't handled correctly

See original GitHub issue
/datum
	var
		one = 1
		two = 2

The compiler interprets this as a /datum/var object that overrides variables one and two. What it should do instead is define the variables one and two on /datum.

The same problem exists for proc definitions.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ike709commented, May 13, 2021

The curse of relative pathing.

0reactions
wixoaGitcommented, May 14, 2021

This was fixed in ff2f3499e055d1f5e0d4fbf7b05a6ec11e17217e.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Object variable or With block variable not set - Visual Basic
You are attempting to access an element of an array variable that wasn't properly declared. For example, an array declared as products() As ......
Read more >
I'm trying to use a variable in Oracle PL/SQL, but I'm getting ...
"I am trying to declare a variable, then select that variable. ... but it's close and is NOT procedural (read: no anonymous PL/SQL...
Read more >
PROC REPORT: Tips and Customizations for Quickly ...
COMPUTED: Variables that do not come in with the data set but which are defined by you in the report. COMPUTED variables must...
Read more >
Common error messages in SAS | SAS Learning Modules
The var statement is not valid when used with proc freq. Change the statement to tables and the program runs successfully. proc freq...
Read more >
Chapter 4. Basic Declarations and Expressions
Variables are the basic building blocks of a program. ... warning to indicate that there is a correctly written, but useless, statement 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