mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:02:46 +00:00 
			
		
		
		
	LibJS: Convert internal_set() to ThrowCompletionOr
This commit is contained in:
		
							parent
							
								
									6c2b974db2
								
							
						
					
					
						commit
						e5409c6ead
					
				
					 19 changed files with 66 additions and 69 deletions
				
			
		|  | @ -9,6 +9,7 @@ | |||
| 
 | ||||
| #include "DebuggerGlobalJSObject.h" | ||||
| #include <LibDebug/DebugInfo.h> | ||||
| #include <LibJS/Runtime/Completion.h> | ||||
| #include <LibJS/Runtime/Object.h> | ||||
| 
 | ||||
| namespace HackStudio { | ||||
|  | @ -24,7 +25,7 @@ public: | |||
| 
 | ||||
|     virtual const char* class_name() const override { return m_variable_info.type_name.characters(); } | ||||
| 
 | ||||
|     bool internal_set(JS::PropertyName const&, JS::Value value, JS::Value receiver) override; | ||||
|     JS::ThrowCompletionOr<bool> internal_set(JS::PropertyName const&, JS::Value value, JS::Value receiver) override; | ||||
| 
 | ||||
| private: | ||||
|     DebuggerGlobalJSObject& debugger_object() const; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Groh
						Linus Groh