aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dependencies.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/dependencies.rb b/Library/Homebrew/dependencies.rb
index 8b056f4ae..1ca1298fb 100644
--- a/Library/Homebrew/dependencies.rb
+++ b/Library/Homebrew/dependencies.rb
@@ -31,6 +31,8 @@ class DependencyCollector
dep = case spec
when :x11, :libpng
X11Dependency.new(tag)
+ when Symbol
+ raise "Unsupported special dependency #{spec}"
when String
if LANGUAGE_MODULES.include? tag
LanguageModuleDependency.new(tag, spec)