From 1ef5cc8e25d7a3c3c2299250f22015599c43ae4c Mon Sep 17 00:00:00 2001 From: Tobias Reiher Date: Mon, 9 Sep 2024 17:05:38 +0200 Subject: [PATCH] Fix location of function parameter type Ref. eng/recordflux/RecordFlux#977 --- rflx/specification/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rflx/specification/parser.py b/rflx/specification/parser.py index f9ff67a8e..78c948167 100644 --- a/rflx/specification/parser.py +++ b/rflx/specification/parser.py @@ -373,7 +373,7 @@ def create_id(error: RecordFluxError, identifier: lang.AbstractID, filename: Pat return ( ID( identifier.f_package.text, - location=node_location(identifier.f_package, filename), + location=node_location(identifier, filename), ) * name )