mirror of
				https://github.com/Dummi26/mers.git
				synced 2025-11-04 05:16:17 +01:00 
			
		
		
		
	removed some annoying debug prints
This commit is contained in:
		
							parent
							
								
									e0f13bdb85
								
							
						
					
					
						commit
						f43ab49408
					
				@ -358,10 +358,10 @@ fn statement_adv(
 | 
				
			|||||||
    // if Some((t, is_init)), the statement creates by this function is the left side of an assignment, meaning it can create variables. t is the type that will be assigned to it.
 | 
					    // if Some((t, is_init)), the statement creates by this function is the left side of an assignment, meaning it can create variables. t is the type that will be assigned to it.
 | 
				
			||||||
    to_be_assigned_to: &mut Option<(VType, &mut bool)>,
 | 
					    to_be_assigned_to: &mut Option<(VType, &mut bool)>,
 | 
				
			||||||
) -> Result<RStatement, ToRunnableError> {
 | 
					) -> Result<RStatement, ToRunnableError> {
 | 
				
			||||||
    eprintln!("TR : {}", s);
 | 
					    // eprintln!("TR : {}", s);
 | 
				
			||||||
    if let Some(t) = &to_be_assigned_to {
 | 
					    // if let Some(t) = &to_be_assigned_to {
 | 
				
			||||||
        eprintln!(" --> {}", t.0);
 | 
					    //     eprintln!(" --> {}", t.0);
 | 
				
			||||||
    }
 | 
					    // }
 | 
				
			||||||
    let mut state = match &*s.statement {
 | 
					    let mut state = match &*s.statement {
 | 
				
			||||||
        SStatementEnum::Value(v) => RStatementEnum::Value(v.clone()),
 | 
					        SStatementEnum::Value(v) => RStatementEnum::Value(v.clone()),
 | 
				
			||||||
        SStatementEnum::Tuple(v) | SStatementEnum::List(v) => {
 | 
					        SStatementEnum::Tuple(v) | SStatementEnum::List(v) => {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user