Refactor debugger tests
1. Move tests to their own module 2. Avoid sharing the 'tinyApp' project between tests 3. Clean up option directive handling
This commit is contained in:
+12
@@ -1,3 +1,4 @@
|
||||
// FILE: inlineFunctionSameLines.kt
|
||||
package inlineFunctionSameLines
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
@@ -11,4 +12,15 @@ fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
myFun(1)
|
||||
val a = 1
|
||||
}
|
||||
|
||||
// FILE: inlineFunctionSameLinesDependent.kt
|
||||
package inlineFunctionSameLines
|
||||
|
||||
inline fun <reified T> myFun(t: T): Int {
|
||||
val a = 1
|
||||
val b = 2
|
||||
val c = 3
|
||||
val d = 4
|
||||
return 1
|
||||
}
|
||||
Reference in New Issue
Block a user