mirror of
https://github.com/Dummi26/mers.git
synced 2025-12-19 05:26:31 +01:00
Added the concept of subtypes ...
... which `try` now uses to avoid some problems with inner types
This commit is contained in:
@@ -28,7 +28,7 @@ impl Config {
|
||||
}
|
||||
let arg_type = &t.0[0];
|
||||
let functions = &t.0[1];
|
||||
for arg_type in arg_type.types.iter() {
|
||||
for arg_type in arg_type.subtypes_type().types.iter() {
|
||||
let arg_type = Type::newm(vec![arg_type.clone()]);
|
||||
// possibilities for the tuple (f1, f2, f3, ..., fn)
|
||||
for ft in functions.types.iter() {
|
||||
|
||||
Reference in New Issue
Block a user