Pseudocode: Generate fake values for Unit/Nothing-typed expressions
This commit is contained in:
@@ -3,8 +3,9 @@ fun test() {
|
||||
"${throw Exception()} ${1}"
|
||||
}
|
||||
---------------------
|
||||
Exception() <v0>: {<: Throwable} NEW: call(Exception(), <init>) -> <v0>
|
||||
1 <v1>: * NEW: r(1) -> <v1>
|
||||
"${throw Exception()} ${1}" <v2>: * NEW: magic[STRING_TEMPLATE]("${throw Exception()} ${1}"|<v1>) -> <v2>
|
||||
{ "${throw Exception()} ${1}" } <v2>: * COPY
|
||||
Exception() <v0>: {<: Throwable} NEW: call(Exception(), <init>) -> <v0>
|
||||
throw Exception() !<v2>: *
|
||||
1 <v1>: * NEW: r(1) -> <v1>
|
||||
"${throw Exception()} ${1}" <v3>: * NEW: magic[STRING_TEMPLATE]("${throw Exception()} ${1}"|!<v2>, <v1>) -> <v3>
|
||||
{ "${throw Exception()} ${1}" } <v3>: * COPY
|
||||
=====================
|
||||
|
||||
Reference in New Issue
Block a user