Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inspection Error False Positive: Unresolved reference for version local function #542

Open
iromeo opened this issue Oct 21, 2024 · 1 comment

Comments

@iromeo
Copy link
Contributor

iromeo commented Oct 21, 2024

image

def version():
	return "3.3"

rule rule1:
	# This rule creates an intermediate file.
	input: 
		'dir/a/test.inter'
	output: 'dir/test.out'
	log:    a='log/logfile.log'
	version: version()
	shell: 
		'echo {TEST}; echo {version}; cp {input[0]} {output[0]}; ' # append a comment
		'echo test > {log.a}'

works ok in 8.20.6

@iromeo iromeo added this to the next next major milestone Oct 22, 2024
@iromeo iromeo changed the title Inspection Error False Positive: Unresolved output for version local function Inspection Error False Positive: Unresolved reference for version local function Oct 22, 2024
@iromeo
Copy link
Contributor Author

iromeo commented Oct 22, 2024

likely related to #541

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant