diff options
Diffstat (limited to 'libphobos/libdruntime/core/runtime.d')
| -rw-r--r-- | libphobos/libdruntime/core/runtime.d | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libphobos/libdruntime/core/runtime.d b/libphobos/libdruntime/core/runtime.d index 19bb61b0c22..4ff728cc38c 100644 --- a/libphobos/libdruntime/core/runtime.d +++ b/libphobos/libdruntime/core/runtime.d @@ -101,15 +101,15 @@ struct UnitTestResult } /// Legacy module unit test handler -alias bool function() ModuleUnitTester; +alias ModuleUnitTester = bool function(); /// Module unit test handler -alias UnitTestResult function() ExtendedModuleUnitTester; +alias ExtendedModuleUnitTester = UnitTestResult function(); private { - alias bool function(Object) CollectHandler; - alias Throwable.TraceInfo function( void* ptr ) TraceHandler; + alias CollectHandler = bool function(Object); + alias TraceHandler = Throwable.TraceInfo function(void* ptr); - alias void delegate( Throwable ) ExceptionHandler; + alias ExceptionHandler = void delegate(Throwable); extern (C) void _d_print_throwable(Throwable t); extern (C) void* thread_stackBottom() nothrow @nogc; |
