ballerina-platform / module-ballerina-c2c

Ballerina Code2Cloud implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiler plugin crash for defaultable parameters

xlight05 opened this issue · comments

Description:
$Subject, when external listener is being used by cloud:Expose.

Steps to reproduce:

import ballerinax/trigger.google.sheets;

sheets:ListenerConfig userInput = {
    spreadsheetId: "*****"
};

listener sheets:Listener sheetListener = new (userInput);

Affected Versions:
2201.4.x

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

PR needs to be sent to master as well

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.