leo/symbol-table/tests/symbol_table/self_not_available.leo
2020-11-11 14:57:39 -08:00

8 lines
205 B
Plaintext

///
/// Defines a function that returns `Self`.
///
/// Expected output: TypeError
/// Message: "Type `Self` is only available in circuit definitions and circuit functions."
///
function main() -> Self {}