Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
tilelang
Commits
2b1f5990
Unverified
Commit
2b1f5990
authored
Nov 12, 2025
by
Kuris
Committed by
GitHub
Nov 12, 2025
Browse files
[Fix] Fix a type that make wrong T.macro backtrace (#1234)
parent
454a9df6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
tilelang/__init__.py
tilelang/__init__.py
+0
-1
tilelang/language/v2/ast.py
tilelang/language/v2/ast.py
+1
-1
No files found.
tilelang/__init__.py
View file @
2b1f5990
...
@@ -22,7 +22,6 @@ def _compute_version() -> str:
...
@@ -22,7 +22,6 @@ def _compute_version() -> str:
version_file
=
repo_root
/
"VERSION"
version_file
=
repo_root
/
"VERSION"
if
version_file
.
is_file
():
if
version_file
.
is_file
():
try
:
try
:
import
version_provider
from
version_provider
import
dynamic_metadata
# type: ignore
from
version_provider
import
dynamic_metadata
# type: ignore
return
dynamic_metadata
(
"version"
)
return
dynamic_metadata
(
"version"
)
except
Exception
:
except
Exception
:
...
...
tilelang/language/v2/ast.py
View file @
2b1f5990
...
@@ -553,7 +553,7 @@ class DSLMutator(ast.NodeTransformer):
...
@@ -553,7 +553,7 @@ class DSLMutator(ast.NodeTransformer):
def
visit_Name
(
self
,
node
:
ast
.
Name
):
def
visit_Name
(
self
,
node
:
ast
.
Name
):
if
isinstance
(
node
.
ctx
,
ast
.
Load
):
if
isinstance
(
node
.
ctx
,
ast
.
Load
):
return
quote_expr
(
f
"__tb.rval('
{
node
.
id
}
',
{
node
.
id
}
)"
,
span
=
node
)
return
quote_expr
(
f
"__tb.rval('
{
node
.
id
}
', node
)"
,
node
=
node
,
span
=
node
)
return
node
return
node
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment