Skip to content

Commit

Permalink
Merge pull request #662 from Aristidescosta/tipo-errado-dicionario
Browse files Browse the repository at this point in the history
verificando tipo de dicionario
  • Loading branch information
samuelrvg authored Feb 21, 2024
2 parents f9f8d73 + e2de469 commit 6311f53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fontes/interpretador/interpretador-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import {
Binario,
Chamada,
Construto,
Dicionario,
ExpressaoRegular,
FimPara,
FormatacaoEscrita,
Expand Down Expand Up @@ -239,7 +240,8 @@ export class InterpretadorBase implements InterpretadorInterface {
tipoDe instanceof TipoDe ||
tipoDe instanceof Unario ||
tipoDe instanceof Variavel ||
tipoDe instanceof Agrupamento
tipoDe instanceof Agrupamento ||
tipoDe instanceof Dicionario
) {
tipoDe = await this.avaliar(tipoDe);
return tipoDe.tipo || inferirTipoVariavel(tipoDe);
Expand Down

0 comments on commit 6311f53

Please sign in to comment.