Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

sys_pre_expand: Fix BASE never being set

Commit a612e99 turned module attributes from
2-tuples to 3-tuples but forgot to update get_base/1, breaking BASE for
parametric modules.
  • Loading branch information...
commit 18943e753f7791312d89943851169e89acece8fc 1 parent 24ad2d1
Tomáš Janoušek authored August 02, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/compiler/src/sys_pre_expand.erl
2  lib/compiler/src/sys_pre_expand.erl
@@ -119,7 +119,7 @@ expand_pmod(Fs0, St0) ->
119 119
 
120 120
 get_base(As) ->
121 121
     case lists:keyfind(extends, 1, As) of
122  
-	{extends,[Base]} when is_atom(Base) ->
  122
+	{extends,_,[Base]} when is_atom(Base) ->
123 123
 	    Base;
124 124
 	_ ->
125 125
 	    []

0 notes on commit 18943e7

Please sign in to comment.
Something went wrong with that request. Please try again.