mirror of
https://github.com/github/semantic.git
synced 2024-12-19 12:51:52 +03:00
12 lines
262 B
Python
12 lines
262 B
Python
# CHECK-JQ: .scope.zilch[0].b[0].span == { start: [8, 8], end: [ 8, 16 ] }
|
|
# CHECK-JQ: .scope.result[0].a[0].span == { start: [5, 8], end: [ 5, 16 ] }
|
|
|
|
def const(a, b):
|
|
def result():
|
|
return a
|
|
|
|
def zilch(b):
|
|
return b
|
|
|
|
return result()
|