Add API to get locations of collected script annotations
#KT-38404 fixed also: - Add wrapper class for the location combined with the location id - Add source code location parameters to external dependency resolvers - Add tests for locations in annotations - Add tests for order of annotation resolution for dependencies resolvers
This commit is contained in:
committed by
Ilya Chernikov
parent
1539128c3f
commit
83087291df
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
|
||||
@file:Fib(4)
|
||||
|
||||
println("fib(1)=${FIB_1}")
|
||||
println("fib(2)=${FIB_2}")
|
||||
println("fib(3)=${FIB_3}")
|
||||
println("fib(4)=${FIB_4}")
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
|
||||
@file:Fib(number = 4)
|
||||
@file:Fib(number = 0)
|
||||
|
||||
print("fib(4)=${FIB_4}")
|
||||
Reference in New Issue
Block a user