📝 doc: improve error message
							parent
							
								
									ae858ebe70
								
							
						
					
					
						commit
						d0f9014f03
					
				|  | @ -341,6 +341,7 @@ impl <'a> State <'a> { | |||
| 			}, | ||||
| 			Instruction::GetField (a, b, c) => { | ||||
| 				let t = match self.reg (*b) { | ||||
| 					Value::Nil => panic! ("R[B] must not be nil"), | ||||
| 					Value::Table (t) => t, | ||||
| 					_ => panic! ("R[B] must be a table"), | ||||
| 				}; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 _
						_