Permalink
Browse files

Deleted useless code from the pass for delegates.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
  • Loading branch information...
ddobrev committed Aug 26, 2017
1 parent d1461fd commit e89c9f98decd290481e75abd04141281eacd3e42
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/Generator/Passes/DelegatesPass.cs
@@ -29,12 +29,6 @@ public override bool VisitASTContext(ASTContext context)
if (!Options.IsCSharpGenerator)
return result;
var generatedUnits = context.TranslationUnits.GetGenerated();
var unit = generatedUnits.LastOrDefault();
if (unit == null)
return false;
foreach (var module in Options.Modules.Where(namespacesDelegates.ContainsKey))
{
var @namespace = namespacesDelegates[module];

0 comments on commit e89c9f9

Please sign in to comment.